View Single Post
Posts: 144 | Thanked: 134 times | Joined on Jan 2010 @ Hamburg
#4
I let the .pyc files precompile in the following way:

I've added python-support to build_depends and depends in debian/control and dh_pysupport to debian/rules.

In debian/rules it is important to add the path of your installed app to dh_pysupport. e.g. "dh_pysupport /opt/your-package", because your module will not be installed in a standard public path.