-
Notifications
You must be signed in to change notification settings - Fork 50
/
setup.cfg
274 lines (260 loc) · 11.8 KB
/
setup.cfg
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2015-2022 CERN.
#
# Invenio is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
[metadata]
name = invenio-app-ils
version = attr: invenio_app_ils.__version__
description = Invenio Integrated Library System.
long_description = file: README.rst, CHANGES.rst
keywords = invenio-app-ils Invenio
license = MIT
author = CERN
author_email = info@inveniosoftware.org
platforms = any
url = https://github.com/inveniosoftware/invenio-app-ils
classifiers =
Development Status :: 4 - Beta
[options]
include_package_data = True
packages = find:
python_requires = >=3.8
zip_safe = False
install_requires =
# Invenio core modules
invenio-app>=1.3.4,<1.4.0
invenio-db[postgresql,mysql]>=1.0.14,<2.0.0
# upper pinned to minor due to flask 2.3 upgrade changes dependencies
invenio-base>=1.2.11,<1.3.0
invenio-cache>=1.1.1,<2.0.0
invenio-celery>=1.2.4,<1.3.0
invenio-config>=1.0.3,<1.1.0
invenio-i18n>=2.0.0,<3.0.0
# Invenio base bundle
invenio-admin>=1.4.0,<1.5.0
invenio-assets>=3.0.0,<4.0.0
invenio-formatter>=2.0.0,<3.0.0
invenio-logging[sentry_sdk]>=2.0.0,<3.0.0
invenio-mail>=2.0.0,<3.0.0
invenio-rest>=1.3.0,<1.4.0
invenio-theme>=2.0.0,<3.0.0
# Invenio auth bundle
invenio-access>=2.0.0,<3.0.0
invenio-accounts>=3.0.0,<4.0.0
invenio-oauth2server>=2.0.0,<3.0.0
invenio-oauthclient>=3.0.0,<4.0.0
invenio-userprofiles>=1.2.4,<1.3.0
# Invenio metadata bundle, without records UI
invenio-indexer>=2.2.0,<3.0.0
invenio-jsonschemas>=1.1.4,<1.2.0
invenio-oaiserver>=2.2.0,<2.3.0
invenio-pidstore>=1.3.0,<1.4.0
invenio-records-rest>=2.2.0,<3.0.0
invenio-records>=2.2.1,<3.0.0
# Invenio files bundle, with only invenio-files-rest
invenio-files-rest>=2.0.0,<3.0.0
# Extra deps of ILS
invenio-banners>=1.0.0a1,<1.1.0
invenio-pages>=1.0.0a5,<1.1.0
invenio-circulation>=3.0.0a1,<4.0.0
invenio-opendefinition>=2.0.0a1,<3.0.0
invenio-pidrelations>=0.2.0,<1.1.0
invenio-stats>=4.0.0,<5.0.0
Flask-Debugtoolbar>=0.10.1,<1.0.0
pycountry>=20.0.0,<23.0.0
# needed to have namedtuple json serialized as dict
simplejson>=3.8.1,<4.0.0
pluggy>=0.13.1,<1.0.0
jsonschema>=4.3.0,<5.0.0
# Version 2.1.0 removes `TimedJSONWebSignatureSerializer`
itsdangerous>=1.1,<2.1
# sqlalchemy needs upgrades in invenio core to unpin
SQLAlchemy>=1.3.0,<2.0.0
# Pinned due to before_first_request deprecation https://flask.palletsprojects.com/en/2.2.x/api/#flask.Flask.before_first_request
Flask>=2.2.0,<2.3.0
Werkzeug>=2.2.0,<2.3.0
[options.extras_require]
tests =
pytest-black>=0.3.0
mock>=2.0.0
pytest-invenio>=2.0.0,<3.0.0
docker-services-cli>=0.6.0
# due to https://github.com/PyCQA/pydocstyle/issues/620
pydocstyle==6.1.1
pytest-mock>=1.6.0
sphinx>=5
lorem =
lorem>=0.1.1
opensearch2 =
invenio-search[opensearch2]>=2.0.0,<3.0.0
docs =
# Kept for backwards compatibility
[options.entry_points]
console_scripts =
ils = invenio_app.cli:cli
flask.commands =
fixtures = invenio_app_ils.cli:fixtures
demo = invenio_app_ils.cli:demo
patrons = invenio_app_ils.patrons.cli:patrons
setup = invenio_app_ils.cli:setup
stats = invenio_stats.cli:stats
vocabulary = invenio_app_ils.vocabularies.cli:vocabulary
invenio_db.models =
ils_notifications_logs = invenio_app_ils.notifications.models
invenio_admin.views =
ils_notifications_logs_view = invenio_app_ils.notifications.admin:notifications_logs
invenio_base.apps =
ils_ui = invenio_app_ils.ext:InvenioAppIlsUI
ils_ill = invenio_app_ils.ill.ext:InvenioIlsIll
ils_acquisition = invenio_app_ils.acquisition.ext:InvenioIlsAcquisition
ils_providers = invenio_app_ils.providers.ext:InvenioIlsProviders
invenio_base.api_apps =
ils_rest = invenio_app_ils.ext:InvenioAppIlsREST
ils_ill = invenio_app_ils.ill.ext:InvenioIlsIll
ils_acquisition = invenio_app_ils.acquisition.ext:InvenioIlsAcquisition
ils_providers = invenio_app_ils.providers.ext:InvenioIlsProviders
invenio_base.api_blueprints =
ils_circulation = invenio_app_ils.circulation.views:create_circulation_blueprint
ils_circulation_stats = invenio_app_ils.circulation.stats.views:create_circulation_stats_blueprint
ils_ill = invenio_app_ils.ill.views:create_ill_blueprint
ils_relations = invenio_app_ils.records_relations.views:create_relations_blueprint
ils_document_request = invenio_app_ils.document_requests.views:create_document_request_action_blueprint
ils_document_stats = invenio_app_ils.records.views:create_document_stats_blueprint
ils_files = invenio_app_ils.files.views:create_files_blueprint
ils_patrons = invenio_app_ils.patrons.views:get_user_loan_information_blueprint
ils_notifications = invenio_app_ils.notifications.views:get_notifications_blueprint
invenio_config.module =
00_invenio_app_ils = invenio_app_ils.config
00_invenio_app_ils_circulation = invenio_app_ils.circulation.config
invenio_i18n.translations =
messages = invenio_app_ils
invenio_jsonschemas.schemas =
acquisition = invenio_app_ils.acquisition.schemas
document_requests = invenio_app_ils.document_requests.schemas
documents = invenio_app_ils.documents.schemas
eitems = invenio_app_ils.eitems.schemas
ill = invenio_app_ils.ill.schemas
internal_locations = invenio_app_ils.internal_locations.schemas
items = invenio_app_ils.items.schemas
locations = invenio_app_ils.locations.schemas
providers = invenio_app_ils.providers.schemas
series = invenio_app_ils.series.schemas
vocabularies = invenio_app_ils.vocabularies.schemas
invenio_search.mappings =
acq_orders = invenio_app_ils.acquisition.mappings
document_requests = invenio_app_ils.document_requests.mappings
documents = invenio_app_ils.documents.mappings
eitems = invenio_app_ils.eitems.mappings
ill_borrowing_requests = invenio_app_ils.ill.mappings
internal_locations = invenio_app_ils.internal_locations.mappings
items = invenio_app_ils.items.mappings
locations = invenio_app_ils.locations.mappings
patrons = invenio_app_ils.patrons.mappings
providers = invenio_app_ils.providers.mappings
series = invenio_app_ils.series.mappings
vocabularies = invenio_app_ils.vocabularies.mappings
invenio_pidstore.fetchers =
acqoid = invenio_app_ils.acquisition.api:order_pid_fetcher
docid = invenio_app_ils.documents.api:document_pid_fetcher
dreqid = invenio_app_ils.document_requests.api:document_request_pid_fetcher
eitmid = invenio_app_ils.eitems.api:eitem_pid_fetcher
illbid = invenio_app_ils.ill.api:borrowing_request_pid_fetcher
ilsloanid = invenio_app_ils.circulation.api:ils_circulation_loan_pid_fetcher
ilocid = invenio_app_ils.internal_locations.api:internal_location_pid_fetcher
litid = invenio_app_ils.literature.api:literature_pid_fetcher
locid = invenio_app_ils.locations.api:location_pid_fetcher
patid = invenio_app_ils.patrons.api:patron_pid_fetcher
pitmid = invenio_app_ils.items.api:item_pid_fetcher
provid = invenio_app_ils.providers.api:provider_pid_fetcher
serid = invenio_app_ils.series.api:series_pid_fetcher
vocid = invenio_app_ils.vocabularies.api:vocabulary_pid_fetcher
invenio_pidstore.minters =
acqoid = invenio_app_ils.acquisition.api:order_pid_minter
docid = invenio_app_ils.documents.api:document_pid_minter
dreqid = invenio_app_ils.document_requests.api:document_request_pid_minter
eitmid = invenio_app_ils.eitems.api:eitem_pid_minter
illbid = invenio_app_ils.ill.api:borrowing_request_pid_minter
ilsloanid = invenio_app_ils.circulation.api:ils_circulation_loan_pid_minter
ilocid = invenio_app_ils.internal_locations.api:internal_location_pid_minter
litid = invenio_app_ils.literature.api:literature_pid_minter
locid = invenio_app_ils.locations.api:location_pid_minter
patid = invenio_app_ils.patrons.api:patron_pid_minter
pitmid = invenio_app_ils.items.api:item_pid_minter
provid = invenio_app_ils.providers.api:provider_pid_minter
serid = invenio_app_ils.series.api:series_pid_minter
vocid = invenio_app_ils.vocabularies.api:vocabulary_pid_minter
invenio_access.actions =
backoffice_access_action = invenio_app_ils.permissions:backoffice_access_action
invenio_records.jsonresolver =
ill_brw_req = invenio_app_ils.ill.jsonresolvers.borrowing_request_document
ill_provider = invenio_app_ils.ill.jsonresolvers.borrowing_request_provider
ill_patron = invenio_app_ils.ill.jsonresolvers.borrowing_request_patron
document_circulation = invenio_app_ils.documents.jsonresolvers.document_circulation
document_eitem = invenio_app_ils.documents.jsonresolvers.document_eitem
document_item = invenio_app_ils.documents.jsonresolvers.document_item
document_relations = invenio_app_ils.documents.jsonresolvers.document_relations
document_request_document = invenio_app_ils.document_requests.jsonresolvers.document_request_document
document_request_patron = invenio_app_ils.document_requests.jsonresolvers.document_request_patron
document_stock = invenio_app_ils.documents.jsonresolvers.document_stock
eitem_document = invenio_app_ils.eitems.jsonresolvers.eitem_document
eitem_files = invenio_app_ils.eitems.jsonresolvers.eitem_files
internal_location = invenio_app_ils.internal_locations.jsonresolvers.internal_location
item_document = invenio_app_ils.items.jsonresolvers.item_document
item_internal_location = invenio_app_ils.items.jsonresolvers.item_internal_location
item_loan = invenio_app_ils.items.jsonresolvers.item_loan
order_order_lines = invenio_app_ils.acquisition.jsonresolvers.order_order_lines
order_provider = invenio_app_ils.acquisition.jsonresolvers.order_provider
series_relations = invenio_app_ils.series.jsonresolvers.series_relations
vocabularies_licenses = invenio_app_ils.vocabularies.jsonresolvers.licenses
invenio_celery.tasks =
ils_indexer_acquisitions = invenio_app_ils.acquisition.indexer
ils_indexer_document_requests = invenio_app_ils.document_requests.indexer
ils_indexer_documents = invenio_app_ils.documents.indexer
ils_indexer_eitems = invenio_app_ils.eitems.indexer
ils_indexer_ills = invenio_app_ils.ill.indexer
ils_indexer_intlocs = invenio_app_ils.internal_locations.indexer
ils_indexer_items = invenio_app_ils.items.indexer
ils_indexer_loans = invenio_app_ils.circulation.indexer
ils_indexer_locations = invenio_app_ils.locations.indexer
ils_indexer_rec_relations = invenio_app_ils.records_relations.indexer
ils_indexer_series = invenio_app_ils.series.indexer
ils_notifications = invenio_app_ils.notifications.tasks
ils_notifications_backends = invenio_app_ils.notifications.backends.mail
ils_circulation_notifications = invenio_app_ils.circulation.notifications.tasks
ils_circulation = invenio_app_ils.circulation.tasks
invenio_base.blueprints =
logged_out = invenio_app_ils.views:create_logged_out_blueprint
[build_sphinx]
source-dir = docs/
build-dir = docs/_build
all_files = 1
[bdist_wheel]
universal = 1
[pydocstyle]
add_ignore = D401
[compile_catalog]
directory = invenio_app_ils/translations/
use-fuzzy = True
[extract_messages]
copyright_holder = CERN
msgid_bugs_address = info@inveniosoftware.org
mapping-file = babel.ini
output-file = invenio_app_ils/translations/messages.pot
add-comments = NOTE
[init_catalog]
input-file = invenio_app_ils/translations/messages.pot
output-dir = invenio_app_ils/translations/
[update_catalog]
input-file = invenio_app_ils/translations/messages.pot
output-dir = invenio_app_ils/translations/
[isort]
profile=black
[check-manifest]
ignore =
*-requirements.txt
[tool:pytest]
addopts = --black --isort --pydocstyle --doctest-glob="*.rst" --doctest-modules --cov=invenio_app_ils --cov-report=term-missing
testpaths = tests invenio_app_ils