These commands create the ".deb" package in the parent directory. If you
downloaded a pre-build ".deb" package skip this step and just run the "dpkg
-i" command that follows.
This procedure for building the package requires requires fakeroot, cdbs,
and debhelper. At least these are what's needed on Ubuntu Feisty Fawn.
Here's how you can get the missing packages.
sudo apt-get install fakeroot cdbs debhelper
Now we can create the package.
python setup.py clean
fakeroot debian/rules binary
Here's how to install the package.
sudo dpkg -i ../python-cmdo_<version>_all.deb
A deb package is created in the directory above.
You may see the following ignorable error message.
tar: -: file name read contains nul character