ghtdak/qtreactor — pull request #5 by nessita (2011-11-09 19:11:30+00:00)
Title: Merge request: add setup.py to the project

Hello!

I'm a developer of the Ubuntu One project (https://launchpad.net/ubuntuone), where we heavily use the qt4reactor for a couple of QT UIs we provide (see for example https://launchpad.net/ubuntuone-control-panel).

I'm building ubuntu packages for our QT UI's, and since we depend on qt4reactor, we need to also package it for Ubuntu in particular. So, I'm proposing a branch where the distutils' setup.py is added to this project and thus tarballs can be created from the source tree using:

./setup.py sdist

With this setup.py, you can also install the qt4reactor module and the binary gtrial, using something like:

./setup.py install --prefix=/tmp/qtreactor

or if you want to install directly to the system's python lib:

sudo ./setup.py install

This setup.py will also allow creating tarballs to upload to sites such as pypi, and will also allow me to create the .deb package (I will be creating a separated packaging branch to accomplish this).

Let me know if the information I added for version, author and author_email is correct, I kind of guessed that from the site. I'm happy to make any change you consider necessary.

Thank you very much!
Regards, Natalia.