Comment 31 for bug 36733

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Christophe,

your change will indeed solve the *.pyc problem, however note that the *.pyc will not be generated during installation unless you add python-central or python-support or a custom script to handle this.
Note as well that you have to add proper support so that the substvars will be substituded properly.
If you check it with

dpkg --info buildresult/rubber_1.1-2.1ubuntu1_all.deb

you will see that there is no dependancy on python and the Python-Version: field remains {python:Versions}.

Please refer to:

http://wiki.debian.org/DebianPython/NewPolicy

and the Debian Python Policy manual:

http://www.debian.org/doc/packaging-manuals/python-policy/

Please resubscribe u-u-s once this is corrected.