Re: Python library style guide: Building and installing debug objects (was: Simplified library style guide based on pybuild)

2014-01-31 Thread Piotr Ożarowski
[Ben Finney, 2014-01-31] > How should the Python library style guide recommend we do this using > “pybuild”? add python-all-dbg or python3-all-dbg to Build-Depends, is that simple enough? :) -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffi

Python library style guide: Building and installing debug objects (was: Simplified library style guide based on pybuild)

2014-01-30 Thread Ben Finney
Barry Warsaw writes: > https://wiki.debian.org/Python/LibraryStyleGuide > > Please take a look, edit as necessary or follow up here for more > discussion. I don't see support in there for building and installing debug objects. Currently we need rules like: = .PHONY: build-python% build-pyt

Re: Simplified library style guide based on pybuild

2013-11-29 Thread Piotr Ożarowski
[Olivier Berger, 2013-11-29] > On Tue, 05 Nov 2013, Barry Warsaw wrote: > > > > 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. > > > > May I ask whether there's

Re: Simplified library style guide based on pybuild

2013-11-29 Thread Olivier Berger
Hi. On Tue, 05 Nov 2013, Barry Warsaw wrote: > > 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. > May I ask whether there's a quick workaround for this issue, for t

Re: Simplified library style guide based on pybuild

2013-11-28 Thread Yaroslav Halchenko
somewhat an inappropriate question for the mailing list but: are there backports of dh-python for existing/recent supported Ubuntu releases? thanks for the backport to wheezy btw. Cheers! On Tue, 05 Nov 2013, Barry Warsaw wrote: > Today I migrated the enum34 package to use pybuild. Win! > Ba

Re: Simplified library style guide based on pybuild

2013-11-11 Thread Barry Warsaw
On Nov 11, 2013, at 09:34 AM, Piotr Ożarowski wrote: >it should match module name, not source package name (which doesn't >match module name in most cases). Thanks for fixing the wiki! -Barry -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Tr

Re: Simplified library style guide based on pybuild

2013-11-11 Thread Piotr Ożarowski
[Steve Langasek, 2013-11-11] > A few questions: > > (On PYBUILD_NAME) > Here, we're telling it that the name is foo. This should match the source > package name, so for example, in enum34, you'd see: [...] > > If it's supposed to match the source package name, why does it need to be > speci

Re: Simplified library style guide based on pybuild

2013-11-10 Thread Steve Langasek
Hi Barry, On Tue, Nov 05, 2013 at 06:55:33PM -0500, Barry Warsaw wrote: > 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 > Ple

Re: Simplified library style guide based on pybuild

2013-11-06 Thread Ben Finney
Barry Warsaw writes: > On Nov 06, 2013, at 12:52 PM, Ben Finney wrote: > > >The following “assumption about the Python package you are working on” > >survives from the historical version: > > Thanks for the review. Yeah, this did read awkwardly from the previous > version. I took a slightly diffe

Re: Simplified library style guide based on pybuild

2013-11-06 Thread Barry Warsaw
On Nov 06, 2013, at 12:52 PM, Ben Finney wrote: >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 acc

Re: Simplified library style guide based on pybuild

2013-11-05 Thread Ben Finney
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 foll

Simplified library style guide based on pybuild

2013-11-05 Thread Barry Warsaw
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 o