X-Git-Url: https://code.grnet.gr/git/pithos/blobdiff_plain/f2d7b5abd25f8b616483a01e5f2182b1ef691dc4..35c827799c8fe34d449d736dec16762866bf36ad:/setup.py?ds=sidebyside diff --git a/setup.py b/setup.py index 8c18cba..1073144 100644 --- a/setup.py +++ b/setup.py @@ -1,16 +1,51 @@ #!/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', - 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', - 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' + ] )