Re: new dh_python proposal

2010-01-15 Thread Piotr Ożarowski
[Jakub Wilk, 2010-01-15] > You want to skip only directories without __init__.py and under > /usr/lib/python*/*-packages/, right? That's fine. yes (at least by default) -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.de

Re: new dh_python proposal

2010-01-15 Thread Scott Kitterman
> Here's updated dh_python proposal. Main change since my last mail: > pycompile/pyclean will no longer search for files to compile/remove > in public directories as Matthias will fix #552595 using triggers so I > don't > have to care about pycentral bugs anymore and dpkg -L seems to be fast > enou

Re: new dh_python proposal

2010-01-15 Thread Jakub Wilk
* Piotr Ożarowski , 2010-01-15, 16:08: symlinks / private directories if given Python version is installed (dpkg -L output will be used to detect which files need byte compilation, directories without __init__.py file will be skipped), IOW, you want to skip modules that are not a part of a pack

Re: new dh_python proposal

2010-01-15 Thread Piotr Ożarowski
[Jakub Wilk, 2010-01-15] > * Matthias Klose , 2010-01-15, 14:58: symlinks / private directories if given Python version is installed (dpkg -L output will be used to detect which files need byte compilation, directories without __init__.py file will be skipped), >>> >>> IOW, you want

Re: new dh_python proposal

2010-01-15 Thread Jakub Wilk
* Matthias Klose , 2010-01-15, 14:58: symlinks / private directories if given Python version is installed (dpkg -L output will be used to detect which files need byte compilation, directories without __init__.py file will be skipped), IOW, you want to skip modules that are not a part of a packa

Re: new dh_python proposal

2010-01-15 Thread Matthias Klose
On 15.01.2010 11:58, Piotr Ożarowski wrote: * no need for helper in Depends and Build-Depends - I want dh_python and pycompile/pyclean to be shipped in python packages, agreed. once these helper tools are mature for unstable/experimental, please add yourself as an uploader to python-default

Re: new dh_python proposal

2010-01-15 Thread Piotr Ożarowski
[Piotr Ożarowski, 2010-01-15] > [Luca Falavigna, 2010-01-15] > > Piotr Ożarowski ha scritto: > > > byte compilation will not fail as it was already tested at build time, > > > > What about cases when code is no longer supported in a given Python > > release? I think of "except YourFavouriteExc

Re: new dh_python proposal

2010-01-15 Thread Matthias Klose
On 15.01.2010 14:27, Jakub Wilk wrote: * Piotr Ożarowski , 2010-01-15, 11:58: * maintainer script will byte compile .pyc files for all provided symlinks / private directories if given Python version is installed (dpkg -L output will be used to detect which files need byte compilation, directorie

Re: new dh_python proposal

2010-01-15 Thread Matthias Klose
On 15.01.2010 14:19, Luca Falavigna wrote: * broken modules that use __file__ incorrectly will work without problems, OK, I'd still warn loudly if that happens, though. there are other cases where some modules/extensions do encode paths in generated "config" files, like sip and the qt/kde bi

Re: new dh_python proposal

2010-01-15 Thread Piotr Ożarowski
[Jakub Wilk, 2010-01-15] > * Piotr Ożarowski , 2010-01-15, 11:58: >> * maintainer script will byte compile .pyc files for all provided >> symlinks / private directories if given Python version is installed >> (dpkg -L output will be used to detect which files need byte compilation, >> directorie

Re: new dh_python proposal

2010-01-15 Thread Piotr Ożarowski
[Luca Falavigna, 2010-01-15] > Piotr Ożarowski ha scritto: > > * no need for helper in Depends and Build-Depends - I want dh_python and > > pycompile/pyclean to be shipped in python packages, > > It is not clear to me how to achieve this. Matthias promised to lend me some space in python packag

Re: new dh_python proposal

2010-01-15 Thread Jakub Wilk
* Piotr Ożarowski , 2010-01-15, 11:58: * maintainer script will byte compile .pyc files for all provided symlinks / private directories if given Python version is installed (dpkg -L output will be used to detect which files need byte compilation, directories without __init__.py file will be sk

Re: new dh_python proposal

2010-01-15 Thread Luca Falavigna
Piotr Ożarowski ha scritto: > * no need for helper in Depends and Build-Depends - I want dh_python and > pycompile/pyclean to be shipped in python packages, It is not clear to me how to achieve this. > * broken modules that use __file__ incorrectly will work without problems, OK, I'd still war

Re: new dh_python proposal

2010-01-15 Thread Piotr Ożarowski
Here's updated dh_python proposal. Main change since my last mail: pycompile/pyclean will no longer search for files to compile/remove in public directories as Matthias will fix #552595 using triggers so I don't have to care about pycentral bugs anymore and dpkg -L seems to be fast enough to be use

Re: direct-changes-in-diff-but-no-patch-system foo.egg-info/SOURCES.txt

2010-01-15 Thread Chow Loong Jin
On Friday 15,January,2010 04:39 PM, Floris Bruynooghe wrote: > On Fri, Jan 15, 2010 at 02:16:10PM +1100, Ben Finney wrote: >> Cyril Brulebois writes: >> >>> Ben Finney (15/01/2010): Now, this is a “pedantic”-level tag, but it does seem valid: the SOURCES.txt file is in fact modified fro

Re: direct-changes-in-diff-but-no-patch-system foo.egg-info/SOURCES.txt

2010-01-15 Thread Floris Bruynooghe
On Fri, Jan 15, 2010 at 02:16:10PM +1100, Ben Finney wrote: > Cyril Brulebois writes: > > > Ben Finney (15/01/2010): > > > Now, this is a “pedantic”-level tag, but it does seem valid: the > > > SOURCES.txt file is in fact modified from the original upstream > > > source. > > > > Just rm it in cl

Re: direct-changes-in-diff-but-no-patch-system foo.egg-info/SOURCES.txt

2010-01-15 Thread Adam
Ben Finney wrote: > Cyril Brulebois writes: > > > Ben Finney (15/01/2010): > > > Now, this is a “pedantic”-level tag, but it does seem valid: the > > > SOURCES.txt file is in fact modified from the original upstream > > > source. > > > > Just rm it in clean? > > But that would also result in a