* Jussi Pakkanen <jpakk...@gmail.com>, 2013-06-23, 03:12:
Python modules should be byte-compiled. You probably want to use
dh_python3 for this purpose.
I tried to make this work, but failed. No matter how I invoke
dh_python3 it just won't create the bytecode files. Maybe an issue with
paths?
You put dh_python3 call in such a place, that is run when .deb has
already been created. No wonder it's a no-op that late. :P
You probably want to move it to the end of override_dh_install.
--compile-all is a bad idea. And if you want to byte-compile for
non-default Python version, you need to pass -V.
You should depend on python3-ply.yacc-X.Y, where X.Y is tabversion
from you parsetab.py. Unfortunately there's no tool to generate this
dependency automatically. (Such tool would be trivial to implement,
because there is already dh_python-ply for Python 2.)
I did not do anything to this yet, since it is unclear what the best
solution would be.
Filing a wishlist bug against python3-ply would be a good start.
--
Jakub Wilk
--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130623165151.ga4...@jwilk.net