-
Notifications
You must be signed in to change notification settings - Fork 49
/
setup.cfg
115 lines (100 loc) · 3.04 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
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2015-2022 CERN.
# Copyright (C) 2022-2024 Graz University of Technology.
#
# 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-access
version = attr: invenio_access.__version__
description = Invenio module for common role based access control.
long_description = file: README.rst, CHANGES.rst
keywords = invenio access
license = MIT
author = CERN
author_email = [email protected]
platforms = any
url = https://github.com/inveniosoftware/invenio-access
classifiers =
Development Status :: 5 - Production/Stable
[options]
include_package_data = True
packages = find:
python_requires = >=3.7
zip_safe = False
install_requires =
invenio-accounts>=6.0.0,<7.0.0
invenio-base>=2.0.0,<3.0.0
invenio-i18n>=3.0.0,<4.0.0
[options.extras_require]
tests =
cachelib>=0.1
invenio-db[mysql, postgresql]>=2.0.0,<3.0.0
pytest-black-ng>=0.4.0
pytest-invenio>=3.0.0,<4.0.0
redis>=2.10.5
sphinx>=4.5
admin =
invenio-admin>=1.2.0,<2.0.0
# Kept for backwards compatibility
postgresql =
mysql =
sqlite =
[options.entry_points]
flask.commands =
access = invenio_access.cli:access
invenio_access.actions =
invenio_access.actions = invenio_access.permissions:superuser_access
invenio_access.system_roles =
any_user = invenio_access.permissions:any_user
authenticated_user = invenio_access.permissions:authenticated_user
system_process = invenio_access.permissions:system_process
invenio_admin.views =
invenio_access_action_users = invenio_access.admin:action_users_adminview
invenio_access_action_roles = invenio_access.admin:action_roles_adminview
invenio_access_action_system_roles = invenio_access.admin:action_system_roles_adminview
invenio_base.api_apps =
invenio_access = invenio_access:InvenioAccess
invenio_base.apps =
invenio_access = invenio_access:InvenioAccess
invenio_db.alembic =
invenio_access = invenio_access:alembic
invenio_db.models =
invenio_access = invenio_access.models
invenio_i18n.translations =
messages = invenio_access
[build_sphinx]
source-dir = docs/
build-dir = docs/_build
all_files = 1
[bdist_wheel]
universal = 1
[aliases]
test = pytest
[compile_catalog]
directory = invenio_access/translations/
use-fuzzy = True
[extract_messages]
copyright_holder = CERN
msgid_bugs_address = [email protected]
mapping-file = babel.ini
output-file = invenio_access/translations/messages.pot
add-comments = NOTE
[init_catalog]
input-file = invenio_access/translations/messages.pot
output-dir = invenio_access/translations/
[update_catalog]
input-file = invenio_access/translations/messages.pot
output-dir = invenio_access/translations/
[pydocstyle]
add_ignore = D401
[isort]
profile=black
[check-manifest]
ignore =
*-requirements.txt
[tool:pytest]
addopts = --black --isort --pydocstyle --doctest-glob="*.rst" --doctest-modules --cov=invenio_access --cov-report=term-missing
testpaths = tests invenio_access