-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
166 lines (158 loc) · 6.42 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# -*- coding: utf-8 -*-
"""scoap3 Invenio instance."""
import os
from setuptools import find_packages, setup
# Get the version string. Cannot be done with import!
version = {}
with open(os.path.join('scoap3',
'version.py'), 'rt') as fp:
exec(fp.read(), version)
install_requires = ()
# install_requires = (
# 'arrow==0.13.2',
# 'celery==3.1.26.post2',
# 'idutils',
# 'invenio-cache==1.0.0',
# 'inspire-crawler~=1.0',
# 'inspire-dojson~=61.1.11',
# 'inspire-utils>=3.0.3',
# 'invenio-access~=1.0.1',
# 'invenio-accounts~=1.0.2',
# 'invenio-admin~=1.1.1',
# 'invenio-assets~=1.1.2',
# 'invenio-base~=1.0.2',
# 'invenio-config~=1.0.1',
# 'invenio-db[postgresql,versioning]==1.0.3',
# 'invenio-files-rest==1.0.0b1',
# 'invenio-indexer~=1.0.2',
# 'invenio-jsonschemas==1.0.0a7',
# 'invenio-logging~=1.1.1',
# 'invenio-mail~=1.0.2',
# 'invenio-oaiharvester==1.0.0a4',
# 'invenio-oaiserver==1.0.3',
# 'invenio-oauth2server==1.0.3',
# 'invenio-oauthclient==1.1.2',
# 'invenio-pidstore~=1.0.0',
# 'invenio-records==1.0.0',
# 'invenio-records-rest==1.4.2',
# 'invenio-rest==1.0.0',
# 'invenio-records-ui==1.0.0b2',
# 'invenio-records-files==1.0.0a11',
# 'invenio-search[elasticsearch6]==1.1.1',
# 'invenio-search-ui==1.0.1',
# 'invenio-theme==1.0.0b2',
# 'invenio-workflows~=7.0.3',
# 'invenio-workflows-files~=1.0',
# 'invenio-celery==1.0.0b2',
# 'invenio-i18n==1.0.0',
# 'invenio-workflows-ui==2.0.17',
# 'Flask-Admin>=1.5.3',
# 'Flask-Caching==1.7.2',
# 'urllib3==1.23',
# 'jsonschema==2.6.0',
# 'pluggy==0.12.0',
# 'six==1.12.0',
# )
tests_require = (
'freezegun==0.3.12',
)
extras_require = {
'tests': tests_require,
'all': install_requires + tests_require
}
setup(
name='scoap3',
version=version['__version__'],
description=__doc__,
packages=find_packages(),
zip_safe=False,
include_package_data=True,
platforms='any',
entry_points={
'console_scripts': [
'scoap3 = scoap3.cli:cli',
],
'invenio_admin.views': [
'scoap3_api_registrations = scoap3.modules.api.admin:api_registrations_adminview',
'scoap3_gdp = scoap3.modules.analysis.admin:gdp_adminview',
'scoap3_analysis_gdp_import = scoap3.modules.analysis.admin:gdpimport_adminview',
'scoap3_articleimpact = scoap3.modules.analysis.admin:articleimpact_adminview',
'scoap3_countriesshare = scoap3.modules.analysis.admin:countriesshare_view',
'scoap3_workflows = scoap3.modules.workflows.admin:workflows',
'scoap3_workflows_summary = scoap3.modules.workflows.admin:workflows_summary',
'scoap3_compliance = scoap3.modules.compliance.admin:compliance_adminview',
'invenio_records = scoap3.modules.records.admin:record_adminview',
'scoap3_records_dashboard = scoap3.modules.records.admin:record_dashboard',
],
'invenio_base.apps': [
'scoap3 = scoap3:Scoap3',
'scoap3_workflows = scoap3.modules.workflows:SCOAP3Workflows',
'scoap3_robotupload = scoap3.modules.robotupload:SCOAP3Robotupload',
'scoap3_sitemap = scoap3.modules.sitemap.ext:Scoap3Sitemap',
],
'invenio_base.api_blueprints': [
'scoap3_oauth2server = scoap3.modules.oauth2server.views:blueprint',
],
'invenio_base.blueprints': [
'scoap3_search = scoap3.modules.search.views:blueprint',
'scoap3_theme = scoap3.modules.theme.views:blueprint',
'scoap3_frontpage = scoap3.modules.frontpage.views:blueprint',
'scoap3_accounts = scoap3.modules.accounts.views:blueprint',
'scoap3_workflows = scoap3.modules.workflows.views:blueprint',
'scoap3_robotupload = scoap3.modules.robotupload.views:blueprint',
'scoap3_api = scoap3.modules.api.views:blueprint',
'scoap3_compliance = scoap3.modules.compliance.views:blueprint',
'scoap3_analysis = scoap3.modules.analysis.views:blueprint',
'scoap3_tools = scoap3.modules.tools.views:blueprint',
'scoap3_records = scoap3.modules.records.views:blueprint',
'scoap3_sitemap = scoap3.modules.sitemap.views:blueprint',
],
'invenio_assets.bundles': [
'scoap3_theme_css = scoap3.modules.theme.bundles:css',
'scoap3_search_js = scoap3.modules.theme.bundles:search_js',
'scoap3_js = scoap3.modules.theme.bundles:js',
],
'invenio_db.alembic': [
'scoap3_api = scoap3.modules.api:alembic',
'scoap3_analysis = scoap3.modules.analysis:alembic',
'scoap3_compliance = scoap3.modules.compliance:alembic',
],
'invenio_db.models': [
'scoap3_api = scoap3.modules.api.models',
'scoap3_analysis = scoap3.modules.analysis.models',
'scoap3_compliance = scoap3.modules.compliance.models',
],
'invenio_pidstore.minters': [
'scoap3_minter = scoap3.modules.pidstore.minters:scoap3_recid_minter',
],
'invenio_pidstore.fetchers': [
'scoap3_fetcher = scoap3.modules.pidstore.fetchers:scoap3_recid_fetcher',
],
'invenio_jsonschemas.schemas': [
'scoap3_records = scoap3.modules.records.jsonschemas',
],
'invenio_search.mappings': [
'scoap3-records = scoap3.modules.records.mappings',
'scoap3-workflows = scoap3.modules.workflows.mappings'
],
'invenio_workflows.workflows': [
'articles_upload = scoap3.modules.workflows.workflows:ArticlesUpload',
'run_compliance = scoap3.modules.workflows.workflows:RunCompliance',
],
'invenio_celery.tasks': [
'robotupload = scoap3.modules.robotupload.tasks',
'analysis = scoap3.modules.analysis.tasks',
'workflows = scoap3.modules.workflows.tasks',
'records = scoap3.modules.records.tasks',
'tools = scoap3.modules.tools.tasks',
'sitemap = scoap3.modules.sitemap.tasks',
],
'invenio_oauth2server.scopes': [
'harvesting_read = scoap3.modules.oauth2server.scopes:harvesting_read',
],
},
install_requires=install_requires,
tests_require=tests_require,
extras_require=extras_require,
setup_requires=['autosemver==0.5.5'],
)