forked from chop-dbhi/avocado
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
72 lines (61 loc) · 1.95 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
import sys
from setuptools import setup, find_packages
install_requires = [
'django>=1.4,<1.6',
'modeltree>=1.1.5',
'South==0.8.1',
'jsonfield==0.9.4',
]
if sys.version_info < (2, 7):
install_requires.append('ordereddict>=1.1')
kwargs = {
# Packages
'packages': find_packages(exclude=['tests', '*.tests', '*.tests.*',
'tests.*']),
'include_package_data': True,
# Dependencies
'install_requires': install_requires,
'test_suite': 'test_suite',
# Test dependencies
'tests_require': [
'django-guardian==1.0.4',
'django-haystack==2.0.0',
'whoosh==2.4.1',
'openpyxl>=1.6,<1.7',
'python-memcached>=1.48',
'django-objectset>=0.2.2',
],
# Optional dependencies
'extras_require': {
# Granular permission
'permissions': ['django-guardian==1.0.4'],
# Search
'search': ['django-haystack==2.0.0'],
# Includes extra exporter dependencies
'extras': ['openpyxl>=1.6,<1.7'],
# Pretty printing of SQL in the admin and for debugging
'sql': ['sqlparse'],
},
# Metadata
'name': 'avocado',
'version': __import__('avocado').get_version(),
'author': 'Byron Ruth',
'author_email': '[email protected]',
'description': 'Metadata APIs for Django',
'license': 'BSD',
'keywords': 'query metadata harvest orm',
'url': 'http://github.com/cbmi/avocado',
'classifiers': [
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Framework :: Django',
'Topic :: Internet :: WWW/HTTP',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Intended Audience :: Healthcare Industry',
'Intended Audience :: Information Technology',
],
}
setup(**kwargs)