Another potentially annoying typo
[OpenSRF.git] / src / python / setup.py
index 0373f86..1b841ae 100644 (file)
@@ -1,18 +1,24 @@
 #!/usr/bin/env python
-from distutils.core import setup
-import os, os.path
 
-dir = os.path.dirname(__file__)
+from setuptools import setup
 
 setup(name='OpenSRF',
-    version='1.0',
-# requires is not actually implemented in distutils
-#    requires=['memcache', 'pyxmpp', 'simplejson'],
+    version='1.0.0',
+    install_requires=[
+        'dnspython', # required by pyxmpp
+       'python-memcached',
+        'pyxmpp>=1.0.0',
+        'simplejson>=1.7.1'
+    ],
+    dependency_links = [
+        "http://pyxmpp.jajcus.net/downloads/",
+        "ftp://ftp.tummy.com/pub/python-memcached/python-memcached-latest.tar.gz"
+    ],
     description='OpenSRF Python Modules',
     author='Bill Erickson',
-    author_email='open-ils-dev@list.georgialibraries.org',
+    author_email='erickson@esilibrary.com',
+    license="GPL",
     url='http://www.open-ils.org/',
     packages=['osrf'],
-    package_dir={'': dir},
-    scripts=[os.path.join(dir, 'srfsh.py')]
+    scripts=['srfsh.py']
 )