nicolargo/glances — pull request #40 by laurentb (2012-03-13 19:35:41+00:00)
Title: Much simpler, pure-python packaging

This follows: http://blog.nicolargo.com/2012/03/un-ppa-pour-glances.html/comment-page-1#comment-15288

I'm using setuptools instead of distutils, which is present on pretty much every Linux distribution. This brings more features and solves some of the issues you seemed to have.

I removed the other packaging means, because they shouldn't be required, and to show how much simpler this is!

There's still things that could be done, but it works.
If you're interested, I will add the support for installing translation files. I can rebase this on the experimental branch if you prefer.
The README could be converted to ReST so it displays better on PyPi, too.

An easy way to test package generation:
./setup.py sdist # generates a package suitable for pypi, or distribution as a download (like the current ones here) - for instance dist/Glances-1.3.7.tar.gz
./setup.py bdist # generates a final package suitable for merging in a system - for instance dist/Glances-1.3.7.linux-x86_64.tar.gz

You could change your installation instructions from:
$ ./configure
$ make
$ sudo make install

to:
$ sudo python setup.py install