welcome to the world of…

Looks like a small bulb used to indicate something unusual, like a malfunction.

Python setup.py to DEB package

Filed under: Uncategorized — Tags: , , , , , , , — admin @ 2011-05-13 10:29

From time to time I hit an interesting Python package which is not available in a DEB package. Setup.py/distutils/setuptools are de facto standard but the base binary distribution command set includes only RPM support. I don’t like python setup.py install. I prefer full installation/purging control via Ubuntu package system. Solution is easy.

Install package python-stdeb and then execute

python setup.py --command-packages=stdeb.command bdist_deb

And your DEB is ready! More information.