Simplified library style guide based on pybuild
Today I migrated the enum34 package to use pybuild. Win! Based on that, I've done a pass through the library style guide, which I was able to greatly simplify. https://wiki.debian.org/Python/LibraryStyleGuide Please take a look, edit as necessary or follow up here for more discussion. There's one little white lie currently: debian/*.pyremove files aren't yet supported for Python 3 package, but Piotr is going to enable that with the next upload of dh-python. I didn't update the AppStyleGuide. Cheers, -Barry signature.asc Description: PGP signature
debian/rules for packages using Cython
Hello, I am trying to package a library that contains some cython code in a ./src folder. I am using this rules file: http://bazaar.launchpad.net/~pythonxy/pythonxy-upstream-debian/python-fiona_debian/view/head:/rules But my Launchpad builds always fail. Could someone please help me or provide me tip on how to prepare the corresponding rules for correct building? Thanks a lot in advance and kind regards, Timmie -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/l5c0sq$uq3$1...@ger.gmane.org
Re: Simplified library style guide based on pybuild
Barry Warsaw writes: > Based on that, I've done a pass through the library style guide, which > I was able to greatly simplify. > > https://wiki.debian.org/Python/LibraryStyleGuide Thanks for that, Barry! > Please take a look, edit as necessary or follow up here for more > discussion. The following “assumption about the Python package you are working on” survives from the historical version: * Your Debian packaging uses debhelper, dh_python2, and is preferably source format 3.0 (quilt). While that's technically accurate – the guide assumes that's the case *before* you follow its advice – a casual reader might get the impression that this is a guide which still recommends using ‘dh_python2’ directly. Maybe clarify that by saying the guide assumes that the package “currently uses debhelper, dh_python2, and is …”. -- \ “A cynic is a man who knows the price of everything and the | `\ value of nothing.” —Oscar Wilde | _o__) | Ben Finney -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/7wppqexpnj@benfinney.id.au