-
Notifications
You must be signed in to change notification settings - Fork 68
/
setup.cfg
128 lines (114 loc) · 4.2 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
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2015-2022 CERN.
# Copyright (C) 2022 Graz University of Technology.
# Copyright (C) 2024 KTH Royal Institute 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-files-rest
version = attr: invenio_files_rest.__version__
description = "Files download/upload REST API similar to S3 for Invenio."
long_description = file: README.rst, CHANGES.rst
keywords = invenio files REST
license = MIT
author = CERN
author_email = [email protected]
platforms = any
url = https://github.com/inveniosoftware/invenio-files-rest
classifiers =
Development Status :: 5 - Production/Stable
[options]
include_package_data = True
packages = find:
python_requires = >=3.7
zip_safe = False
install_requires =
click-default-group>=1.2.2,<2.0.0
Flask-WTF>=0.15.1
fs>=2.0.10,<3.0
invenio-accounts>=1.4.10
invenio-i18n>=2.0.0
[options.extras_require]
tests =
pytest-black-ng>=0.4.1
future>=0.18.2
invenio-access>=1.4.0
invenio-admin>=1.3.2
invenio-db[postgresql,mysql,versioning]>=1.0.13,<2.0
pytest-invenio>=1.4.7
sphinx>=5.0.0,<6.0.0
sphinxcontrib-httpdomain>=1.4.0
postgresql =
# empty for backward compatibility
mysql =
# empty for backward compatibility
sqlite =
# empty for backward compatibility
[options.entry_points]
invenio_access.actions =
# Location related permissions
location_update_all = invenio_files_rest.permissions:location_update_all
# Bucket related permissions.
bucket_read_all = invenio_files_rest.permissions:bucket_read_all
bucket_read_versions_all= invenio_files_rest.permissions:bucket_read_versions_all
bucket_update_all = invenio_files_rest.permissions:bucket_update_all
bucket_listmultiparts_all = invenio_files_rest.permissions:bucket_listmultiparts_all
# Object related permissions.
object_read_all = invenio_files_rest.permissions:object_read_all
object_read_version_all = invenio_files_rest.permissions:object_read_version_all
object_delete_all = invenio_files_rest.permissions:object_delete_all
object_delete_version_all = invenio_files_rest.permissions:object_delete_version_all
# Multipart related permissions.
multipart_read_all = invenio_files_rest.permissions:multipart_read_all
multipart_delete_all = invenio_files_rest.permissions:multipart_delete_all
invenio_admin.views =
location_adminview = invenio_files_rest.admin:location_adminview
bucket_adminview = invenio_files_rest.admin:bucket_adminview
object_adminview = invenio_files_rest.admin:object_adminview
fileinstance_adminview = invenio_files_rest.admin:fileinstance_adminview
multipartobject_adminview = invenio_files_rest.admin:multipartobject_adminview
invenio_base.api_apps =
invenio_files_rest = invenio_files_rest:InvenioFilesREST
invenio_base.api_blueprints =
invenio_files_rest = invenio_files_rest.views:blueprint
invenio_base.apps =
invenio_files_rest = invenio_files_rest:InvenioFilesREST
invenio_celery.tasks =
invenio_files_rest = invenio_files_rest.tasks
invenio_db.alembic =
invenio_files_rest = invenio_files_rest:alembic
invenio_db.models =
invenio_files_rest = invenio_files_rest.models
[build_sphinx]
source-dir = docs/
build-dir = docs/_build
all_files = 1
[bdist_wheel]
universal = 1
[compile_catalog]
directory = invenio_files_rest/translations/
use-fuzzy = True
[extract_messages]
copyright_holder = CERN
msgid_bugs_address = [email protected]
mapping-file = babel.ini
output-file = invenio_files_rest/translations/messages.pot
add-comments = NOTE
[init_catalog]
input-file = invenio_files_rest/translations/messages.pot
output-dir = invenio_files_rest/translations/
[update_catalog]
input-file = invenio_files_rest/translations/messages.pot
output-dir = invenio_files_rest/translations/
[isort]
profile=black
[check-manifest]
ignore =
*-requirements.txt
[tool:pytest]
addopts = --black --isort --pydocstyle --doctest-glob="*.rst" --doctest-modules --cov=invenio_files_rest --cov-report=term-missing
filterwarnings = ignore::pytest.PytestDeprecationWarning
testpaths = tests invenio_files_rest