forked from inveniosoftware/invenio-records-files
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
112 lines (96 loc) · 2.79 KB
/
Copy pathpyproject.toml
File metadata and controls
112 lines (96 loc) · 2.79 KB
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
# SPDX-FileCopyrightText: 2016-2019 CERN.
# SPDX-FileCopyrightText: 2022-2026 Graz University of Technology.
# SPDX-FileCopyrightText: 2022 Graz University of Technology.
# SPDX-FileCopyrightText: 2026 TU Wien.
# SPDX-License-Identifier: MIT
[project]
name = "invenio-records-files"
description = "Invenio modules that integrates records and files."
readme = "README.rst"
requires-python = ">=3.9"
license = "MIT"
authors = [
{ name = "CERN", email = "info@inveniosoftware.org" },
]
keywords = [
"files",
"invenio",
"records",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
]
dependencies = [
"invenio-base>=1.2.2,<3.0.0",
"invenio-files-rest>=6.0.0,<7.0.0",
"invenio-records>=6.0.0,<7.0.0",
"invenio-records-rest>=6.0.0,<7.0.0",
]
dynamic = ["version"]
[project.urls]
Repository = "https://github.com/inveniosoftware/invenio-records-files"
[project.entry-points."invenio_base.api_apps"]
invenio_records_files = "invenio_records_files:InvenioRecordsFiles"
[project.entry-points."invenio_base.api_blueprints"]
invenio_records_files = "invenio_records_files.views:create_blueprint_from_app"
[project.entry-points."invenio_base.apps"]
invenio_records_files = "invenio_records_files:InvenioRecordsFiles"
[project.entry-points."invenio_db.alembic"]
invenio_records_files = "invenio_records_files:alembic"
[project.entry-points."invenio_db.models"]
invenio_records_files = "invenio_records_files.models"
[project.entry-points."invenio_jsonschemas.schemas"]
records_files = "invenio_records_files.jsonschemas"
[project.optional-dependencies]
docs = [
"sphinx>=3",
]
elasticsearch7 = [
"invenio-search[elasticsearch7]>=3.0.0,<4.0.0",
]
mysql = [
"invenio-db[mysql,versioning]>=2.2.0,<3.0.0",
]
opensearch2 = [
"invenio-search[opensearch2]>=3.0.0,<4.0.0",
]
postgresql = [
"invenio-db[postgresql,versioning]>=2.2.0,<3.0.0",
]
sqlite = [
"invenio-db[versioning]>=2.2.0,<3.0.0",
]
tests = [
"invenio-indexer>=6.0.0,<7.0.0",
"mock>=1.3.0",
"pytest-black>=0.6.0",
"pytest-invenio>=4.0.0,<5.0.0",
"sphinx>=3",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "invenio_records_files/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/invenio_records_files",
]
[tool.isort]
profile = "black"
[tool.pydocstyle]
add_ignore = "D401"
[tool.pytest.ini_options]
addopts = '--black --isort --pydocstyle --doctest-glob="*.rst" --doctest-modules --cov=invenio_records_files --cov-report=term-missing'
testpaths = "tests invenio_records_files"
live_server_scope = "module"
# UV needs to be told explicitly which extras are conflicting:
# https://docs.astral.sh/uv/concepts/projects/config/#conflicting-dependencies
[tool.uv]
conflicts = [
[
{ extra = "opensearch1" },
{ extra = "opensearch2" },
{ extra = "elasticsearch7" },
]
]