-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
99 lines (90 loc) · 2.72 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
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.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
requires = [
'Pillow',
'PyBrowserID',
'SQLAlchemy>=1.0.0b1',
'WSGIProxy2',
'WebTest',
'boto',
'elasticsearch',
'future',
'humanfriendly',
'jsonschema',
'loremipsum',
'passlib',
'psutil',
'pyramid',
'pyramid_localroles',
'pyramid_multiauth',
'pyramid_tm',
'python-magic',
'pytz',
'rdflib',
'rdflib-jsonld',
'rfc3987',
'setuptools',
'simplejson',
'strict_rfc3339',
'subprocess_middleware',
'xlrd',
'zope.sqlalchemy',
]
if sys.version_info.major == 2:
requires.extend([
'backports.functools_lru_cache',
'subprocess32',
])
tests_require = [
'pytest>=2.4.0',
'pytest-bdd',
'pytest-splinter',
]
setup(
name='clincoded',
version='0.1',
description='Metadata database for ClinGen',
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='lrowe@stanford.edu',
url='http://encode-dcc.org',
license='MIT',
install_requires=requires,
tests_require=tests_require,
extras_require={
'test': tests_require,
},
entry_points='''
[console_scripts]
batchupgrade = contentbase.batchupgrade:main
create-mapping = contentbase.elasticsearch.create_mapping:main
add-date-created = clincoded.commands.add_date_created:main
check-files = clincoded.commands.check_files:main
check-rendering = clincoded.commands.check_rendering:main
deploy = clincoded.commands.deploy:main
dev-servers = clincoded.commands.dev_servers:main
extract_test_data = clincoded.commands.extract_test_data:main
es-index-data = clincoded.commands.es_index_data:main
es-index-listener = clincoded.commands.es_index_listener:main
import-data = clincoded.commands.import_data:main
jsonld-rdf = clincoded.commands.jsonld_rdf:main
migrate-files-aws = clincoded.commands.migrate_files_aws:main
profile = clincoded.commands.profile:main
spreadsheet-to-json = clincoded.commands.spreadsheet_to_json:main
update-file-status = clincoded.commands.update_file_status:main
[paste.app_factory]
main = clincoded:main
[paste.composite_factory]
indexer = clincoded.commands.es_index_listener:composite
[paste.filter_app_factory]
memlimit = clincoded.memlimit:filter_app
''',
)