-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
72 lines (60 loc) · 2.14 KB
/
pyproject.toml
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
[project]
name = "swh.core"
authors = [
{name="Software Heritage developers", email="[email protected]"},
]
description = "Software Heritage core utilities"
readme = {file = "README.rst", content-type = "text/x-rst"}
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
]
dynamic = ["version", "dependencies", "optional-dependencies"]
[tool.setuptools.packages.find]
include = ["swh.*"]
[tool.setuptools.dynamic]
dependencies = {file = "requirements.txt"}
[tool.setuptools.dynamic.optional-dependencies]
testing_core = {file = "requirements-test.txt"}
logging = {file = ["requirements-logging.txt"]}
db = {file = ["requirements-db.txt"]}
http = {file = "requirements-http.txt"}
# kitchen sink, please do not use
testing = {file = [
"requirements-test.txt",
"requirements-logging.txt",
"requirements-http.txt",
"requirements-db.txt"]}
[project.entry-points.console_scripts]
"swh" = "swh.core.cli:main"
[project.entry-points."swh.cli.subcommands"]
"swh.core.db" = "swh.core.cli.db"
"swh.core.backend" = "swh.core.cli.backend"
[project.entry-points.pytest11]
"pytest_swh_core" = "swh.core.pytest_plugin"
[project.urls]
"Homepage" = "https://gitlab.softwareheritage.org/swh/devel/swh-core"
"Bug Reports" = "https://gitlab.softwareheritage.org/swh/devel/swh-core/-/issues"
"Funding" = "https://www.softwareheritage.org/donate"
"Documentation" = "https://docs.softwareheritage.org/devel/swh-core/"
"Source" = "https://gitlab.softwareheritage.org/swh/devel/swh-core.git"
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
fallback_version = "0.0.1"
[tool.black]
target-version = ['py39', 'py310', 'py311', 'py312']
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 88
force_sort_within_sections = true
known_first_party = ['swh']