Gerry Reno wrote:
Andrew Straw wrote:
Gerry Reno wrote:
Andrew, how can I generate the .deb package without the leading
'python-' in the name? Is this configurable?
Yes. The 'Package' option. Described in "Customizing the produced Debian
source package (config options)" in the README.rst.

Ok, in my stdeb.cfg I put this:
Package: myapp

And it generates the .deb without the 'python-' prefix. But, when I install this .deb it installs but no longer runs the postinst script. If I put back the 'python-' prefix then the postinst runs again.
????

Ok, I found it. In the debian/ control directory I had to rename the postinst script and remove the leading 'python-' from it as well.

Regards,
Gerry

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to