[Jakub Wilk, 2010-03-31] > * Piotr Ożarowski <pi...@debian.org>, 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 debian-lint-maint-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100331115417.gx6...@piotro.eu