[Jakub Wilk, 2010-03-31]
> * Piotr Ożarowski <[email protected]>, 2009-08-12, 00:08:
>> .pyc and .pyo files should not be shipped in binary packages
>
> There's already a tag for that (package-installs-python-pyc) but the
> check is not comprehensive enough:
>
> - It is currently limited to /usr/lib/pythonX.Y/. Some packages in the
> archive are shipping *.pyc in /usr/share/pyshared/, private directories
> etc.
>
> - It triggers only on *.pyc. Some packages in the archive are shipping
> *.pyo.
How about renaming the tag to package-installs-python-bytecode
and:
* checking for .pyc/.pyo files in the whole package,
* checking for .egg files in /usr/lib/pythonX.Y/ and
/usr/{share,lib}/pyshared[1] or:
* checking for .egg files in the whole package
if the mime type matches zip archives' one
[1] looks like egg extension is used outside Python world
(http://filext.com/file-extension/egg)
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]