diff makeitso/python_package/setup.py @ 136:af6ed583a7e9

* multiple install_requires; * use requires for distutils
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 21 Feb 2012 20:18:42 -0800
parents f32ea241e94c
children 2ffadba77bb6
line wrap: on
line diff
--- a/makeitso/python_package/setup.py	Tue Feb 21 20:15:34 2012 -0800
+++ b/makeitso/python_package/setup.py	Tue Feb 21 20:18:42 2012 -0800
@@ -17,7 +17,7 @@
     kw['install_requires'] = dependencies
 except ImportError:
     from distutils.core import setup
-
+    kw['requires'] = dependencies
 
 try:
     here = os.path.dirname(os.path.abspath(__file__))
@@ -38,6 +38,5 @@
       packages=['{{project}}'],
       include_package_data=True,
       zip_safe=False,
-      install_requires=dependencies,
       **kw
       )