Re: new dh_python proposal
[Jakub Wilk, 2010-01-15]
> * Matthias Klose <doko@debian.org>, 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 package? Why?
>>
>> which files would that be?
>
> $ apt-file search -x '/usr/share/pyshared/[^/]*.py$' | wc -l
> 554
>
> Plus some modules directly under /usr/lib/python2.*/site-packages/, plus
> presumably many private modules.
You mean "package" as in Python package (i.e. not .deb file)?
These files will be byte compiled of course. By "directories without
__init__.py" I meant something like site-packages/pylons/templates where
templates contains .py files but there's no templates/__init__.py
--
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl www.griffith.cc www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645
Reply to: