[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: package-installs-python-bytecode



Hi Mathieu,

On Wed, 20 May 2015 11:57:26 +0200, Mathieu Malaterre wrote:
> [Please CC me]
>
> I am reviewing some python packages. On my jessie machine here is what
> I am seeing:
>
> $ dget -u http://mentors.debian.net/debian/pool/main/p/python-udiskie/python-udiskie_1.1.2-1.dsc
> $ cd python-udiskie*
> $ dpkg-buildpackage -rfakeroot -us -uc
> $ lintian -I ../python-udiskie_1.1.2-1_amd64.changes
> E: python-udiskie: package-installs-python-bytecode
> usr/lib/python2.7/dist-packages/udiskie/__init__.pyc
> E: python-udiskie: package-installs-python-bytecode
> usr/lib/python2.7/dist-packages/udiskie/automount.pyc
> [...]
> $ dpkg -c ../python-udiskie_1.1.2-1_all.deb | grep pyc | wc
>     14      84    1413
>
> from any other jessie machine I've access to this warning is not
> present. What do I have on my setup which makes dpkg-buildpackage
> generates *.pyc (or not remove them...).

The package looks correct to me, and I cannot reproduce the bug.

I think the build log (especially the dh_python2 output) will be helpful.

--
Dmitry Shachnev

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: