[Buildbot-commits] buildbot setup.py,1.48,1.49
Brian Warner
warner at users.sourceforge.net
Thu Apr 24 22:50:01 UTC 2008
Update of /cvsroot/buildbot/buildbot
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18975
Modified Files:
setup.py
Log Message:
[project @ setup: declare dependency on twisted >= 2.4.0]
Original author: zooko at zooko.com
Date: 2008-04-15 03:42:24+00:00
Index: setup.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/setup.py,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- setup.py 24 Apr 2008 22:49:49 -0000 1.48
+++ setup.py 24 Apr 2008 22:49:59 -0000 1.49
@@ -89,6 +89,15 @@
'cmdclass': {'install_data': install_data_twisted},
}
+try:
+ # If setuptools is installed, then we'll add setuptools-specific arguments
+ # to the setup args.
+ import setuptools
+except ImportError:
+ pass
+else:
+ setup_args['install_requires'] = ['twisted >= 2.4.0']
+
setup(**setup_args)
# Local Variables:
More information about the Commits
mailing list