Revision 5a96180b setup.py
b/setup.py | ||
---|---|---|
3 | 3 |
import os |
4 | 4 |
|
5 | 5 |
from setuptools import setup, find_packages |
6 |
from pithos import get_version |
|
6 | 7 |
|
7 |
VERSION = os.popen("git describe --abbrev=0 --tags").read().strip(' \nv') |
|
8 |
|
|
9 |
def read(fname): |
|
10 |
return open(os.path.join(os.path.dirname(__file__), fname)).read() |
|
11 |
|
|
12 |
|
|
13 |
VERSION = get_version().replace(' ', '') |
|
14 |
|
|
15 |
INSTALL_REQUIRES = [ |
|
16 |
'Django==1.2.3', |
|
17 |
'South==0.7', |
|
18 |
'httplib2==0.6.0', |
|
19 |
'SQLAlchemy==0.6.3', |
|
20 |
'MySQL-python==1.2.2', |
|
21 |
'psycopg2==2.2.1' |
|
22 |
] |
|
8 | 23 |
|
9 | 24 |
setup( |
10 | 25 |
name='Pithos', |
11 | 26 |
version=VERSION, |
12 |
description='Pithos file storage service', |
|
27 |
description='Pithos file storage service and tools', |
|
28 |
long_description=read('README'), |
|
13 | 29 |
author='GRNET', |
14 | 30 |
author_email='pithos@grnet.gr', |
15 | 31 |
url='http://code.grnet.gr/projects/pithos', |
16 | 32 |
packages=find_packages(), |
33 |
#install_requires = INSTALL_REQUIRES, |
|
17 | 34 |
license='BSD', |
18 | 35 |
classifiers=[ |
19 | 36 |
'Development Status :: 3 - Alpha', |
... | ... | |
21 | 38 |
'Programming Language :: Python', |
22 | 39 |
'Topic :: Utilities', |
23 | 40 |
'License :: OSI Approved :: BSD License', |
41 |
], |
|
42 |
entry_points={ |
|
43 |
'console_scripts': ['pithos-manage = pithos.manage:main'] |
|
44 |
}, |
|
45 |
scripts=[ |
|
46 |
'pithos/tools/pithos-sh', |
|
47 |
'pithos/tools/pithos-sync', |
|
48 |
'pithos/tools/pithos-fs', |
|
49 |
'pithos/tools/pithos-test' |
|
24 | 50 |
] |
25 | 51 |
) |
Also available in: Unified diff