Imagine you need to install pycassa (which uses easy_install). Here are the 2 (at maximum) very simple steps to have it properly debianized and installed on your Debian/Ubuntu:
- if you don’t have the python-stdeb package: sudo aptitude install python-stdeb
- pypi-install pycassa
That’s it.
Refer to stdeb readme for more information. You will need that if there are dependencies – which might not be resolved automatically by stdeb.
Before stdeb, it wasn’t exactly trivial to make a .deb from python module.