-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.cfg
84 lines (73 loc) · 2.75 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
[metadata]
name = oarepo-vocabularies
version = 2.1.11
description = Support for custom fields and hierarchy on Invenio vocabularies
authors = Mirek Simek <[email protected]>
readme = README.md
long_description = file:README.md
long_description_content_type = text/markdown
[options]
python = >=3.10
install_requires =
invenio-vocabularies
oarepo-runtime>=1.4.44
openpyxl
oarepo-ui>=5.0.91
cachetools
orcid
packages = find:
include_package_data = True
[options.extras_require]
dev =
pytest>=7.1.2
black
autoflake
isort
tests =
pytest>=7.1.2
pytest-mock
pytest-invenio
[options.entry_points]
invenio_base.apps =
oarepo_vocabularies = oarepo_vocabularies.ext:OARepoVocabularies
oarepo_vocabularies_ui = oarepo_vocabularies.ui.ext:InvenioVocabulariesAppExtension
oarepo_vocabulary_authorities = oarepo_vocabularies.authorities.ext:OARepoVocabulariesAuthorities
invenio_base.api_apps =
oarepo_vocabularies = oarepo_vocabularies.ext:OARepoVocabularies
oarepo_vocabularies_ui = oarepo_vocabularies.ui.ext:InvenioVocabulariesAppExtension
oarepo_vocabulary_authorities = oarepo_vocabularies.authorities.ext:OARepoVocabulariesAuthorities
invenio_jsonschemas.schemas =
oarepo_vocabularies = oarepo_vocabularies.records.jsonschemas
invenio_base.blueprints =
oarepo_ui = oarepo_vocabularies.views.app:create_app_blueprint
oarepo_vocabularies_ui = oarepo_vocabularies.ui.views:create_blueprint
oarepo_vocabulary_type_ui = oarepo_vocabularies.ui.views:create_vocabulary_type_blueprint
invenio_base.api_blueprints =
oarepo_vocabulary_type_api = oarepo_vocabularies.views.api:create_api_blueprint
oarepo_vocabulary_authorities = oarepo_vocabularies.authorities.views:create_authorities_blueprint
invenio_assets.webpack =
oarepo_vocabularies_ui_theme = oarepo_vocabularies.ui.theme.webpack:theme
oarepo.ui = oarepo_vocabularies_ui = oarepo_vocabularies.models:ui.json
invenio_i18n.translations = oarepo_vocabularies_ui = oarepo_vocabularies
[oarepo.i18n]
languages =
cs
en
# List of paths to scan for babel messages - python files and jinja templates are scanned
babel_source_paths =
oarepo_vocabularies/
# List of paths to scan for i18next messages - javascript and jsx files are scanned
i18next_source_paths =
oarepo_vocabularies/ui/theme/assets/semantic-ui/js
# this is the location where python translations are generated.
babel_output_translations =
oarepo_vocabularies/translations
# this is the location where javascript translations are generated. Add this directory to webpack
# aliases
i18next_output_translations =
oarepo_vocabularies/ui/theme/assets/semantic-ui/translations/oarepo_vocabularies_ui
[options.packages.find]
exclude = tests
[tool:pytest]
testpaths =
tests