This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
pythonadministration [2012/06/11 16:24] mantis |
pythonadministration [2012/06/12 17:19] (current) mantis |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Packaging ===== | ||
+ | ==== Python setup.py to DEB package ===== | ||
+ | [[http://www.smallbulb.net/2011/194-python-setup-py-to-deb-package | Found]] it here. | ||
+ | |||
+ | Often Python packages come with setup.py utility but you'd like have a .deb file. Do | ||
+ | |||
+ | <code bash> | ||
+ | sudo aptitude install python-stdeb | ||
+ | python setup.py --command-packages=stdeb.command bdist_deb | ||
+ | </code> | ||
+ | |||
+ | and install the package with dpkg. |