provide authentication service & change pithos to contact it to authenticate users
[pithos] / setup.py
index 8c18cba..1073144 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,16 +1,51 @@
 #!/usr/bin/env python
 
 #!/usr/bin/env python
 
-#from distutils.core import setup
-from setuptools import setup
+import os
 
 
-from pithos import __version__ as version
+from setuptools import setup, find_packages
+from pithos import get_version
+
+
+def read(fname):
+    return open(os.path.join(os.path.dirname(__file__), fname)).read()
+
+
+VERSION = get_version().replace(' ', '')
+
+INSTALL_REQUIRES = [
+    'Django==1.2.3',
+    'South==0.7',
+    'httplib2==0.6.0',
+    'SQLAlchemy==0.6.3',
+    'MySQL-python==1.2.2',
+    'psycopg2==2.2.1'
+]
 
 setup(
     name='Pithos',
 
 setup(
     name='Pithos',
-    version=version,
-    description='Pithos file storage service',
+    version=VERSION,
+    description='Pithos file storage service and tools',
+       long_description=read('README'),
     author='GRNET',
     author_email='pithos@grnet.gr',
     url='http://code.grnet.gr/projects/pithos',
     author='GRNET',
     author_email='pithos@grnet.gr',
     url='http://code.grnet.gr/projects/pithos',
-    packages=['pithos'],
+    packages=find_packages(),
+    #install_requires = INSTALL_REQUIRES,
+    license='BSD',
+    classifiers=[
+        'Development Status :: 3 - Alpha',
+        'Operating System :: OS Independent',
+        'Programming Language :: Python',
+        'Topic :: Utilities',
+        'License :: OSI Approved :: BSD License',
+    ],
+    entry_points={
+        'console_scripts': ['pithos-manage = pithos.manage:main']
+    },
+    scripts=[
+        'pithos/tools/pithos-sh',
+        'pithos/tools/pithos-sync',
+        'pithos/tools/pithos-fs',
+        'pithos/tools/pithos-test'
+    ]
 )
 )