forked from ENCODE-DCC/encoded
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
110 lines (101 loc) · 3.07 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
100
101
102
103
104
105
106
107
108
109
110
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 = [
'snovault',
'Pillow',
'PyBrowserID',
'SQLAlchemy>=1.0.0b1',
'WSGIProxy2',
'WebTest',
'boto',
'botocore',
'jmespath',
'boto3',
'elasticsearch',
'lucenequery',
'future',
'humanfriendly',
'jsonschema_serialize_fork',
'loremipsum',
'netaddr',
'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-mock',
'pytest-splinter',
'pytest_exact_fixtures',
]
setup(
name='encoded',
version='0.1',
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='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 = snovault.batchupgrade:main
create-mapping = snovault.elasticsearch.create_mapping:main
dev-servers = snovault.dev_servers:main
es-index-listener = snovault.elasticsearch.es_index_listener:main
add-date-created = encoded.commands.add_date_created:main
check-rendering = encoded.commands.check_rendering:main
deploy = encoded.commands.deploy:main
extract_test_data = encoded.commands.extract_test_data:main
es-index-data = encoded.commands.es_index_data:main
generate-ontology = encoded.commands.generate_ontology:main
import-data = encoded.commands.import_data:main
jsonld-rdf = encoded.commands.jsonld_rdf:main
migrate-files-aws = encoded.commands.migrate_files_aws:main
profile = encoded.commands.profile:main
spreadsheet-to-json = encoded.commands.spreadsheet_to_json:main
generate-annotations = encoded.commands.generate_annotations:main
index-annotations = encoded.commands.index_annotations:main
migrate-attachments-aws = encoded.commands.migrate_attachments_aws:main
migrate-dataset-type = encoded.commands.migrate_dataset_type:main
[paste.app_factory]
main = encoded:main
[paste.composite_factory]
indexer = snovault.elasticsearch.es_index_listener:composite
[paste.filter_app_factory]
memlimit = encoded.memlimit:filter_app
''',
)