-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
75 lines (67 loc) · 1.57 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
73
74
75
import os
import sys
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.md')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
requires = [
'PyBrowserID',
'WSGIProxy2',
'boto3',
'WebTest',
'jmespath',
'future',
'humanfriendly',
'netaddr',
'passlib',
'psutil',
'pyramid',
'pyramid_localroles',
'pyramid_multiauth',
'pyramid_tm',
'python-magic',
'pytz',
'setuptools',
'simplejson',
'subprocess_middleware',
'xlrd'
]
if sys.version_info.major == 2:
requires.extend([
'backports.functools_lru_cache',
'subprocess32',
])
tests_require = [
'pytest>=2.4.0',
'pytest-bdd',
'pytest-mock',
'pytest-splinter',
'pytest_exact_fixtures',
]
setup(
name='encoded',
version='80.0',
description='Metadata database for ENCODE',
long_description=README + '\n\n' + CHANGES,
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
author='Laurence Rowe',
author_email='[email protected]',
url='http://encode-dcc.org',
license='MIT',
install_requires=requires,
tests_require=tests_require,
extras_require={
'test': tests_require,
},
entry_points='''
[console_scripts]
deploy = encoded.commands.deploy:main
[paste.app_factory]
main = encoded:main
[paste.filter_app_factory]
memlimit = encoded.memlimit:filter_app
''',
)