From: Flavio C. <fcc...@gm...> - 2010-04-26 10:22:16
|
Hi, I use Gnuplot.py in some of my projects, and would like to thank Michael for such a useful package. One of my projects, Liveplots[1], depends on Gnuplot.py, and uses setuptools (easy_install)[2] as its main mode of distribution. It would be very convenient for me, and possibly for other Gnuplot.py users, that is could also be installed by means of the easy_install command. This is important because other projects which want to declare Gnuplot.py as a dependency can do so by listing it in their setup.py and have it be installed automatically. To enable this, all that is required is to edit one line in the setup.py: where it reads "from distutils.core import setup" it should read: "from setuptools import setup". After this, running "python setup.py sdist. register upload", will add Gnuplot.py to Python Package Index and make it easy_installable for users with setuptools installed. I should also point out, that this edit will not affect in any way how Gnuplot.py is currently used and installed, just add a new way to install it. cheers, -- Flávio Codeço Coelho [1] http://code.google.com/p/liveplots/ [2] http://pypi.python.org/pypi/setuptools |