-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
61 lines (50 loc) · 1.89 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
[project]
name = "swh.indexer"
authors = [
{name="Software Heritage developers", email="[email protected]"},
]
description = "Software Heritage indexer"
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", "requirements-swh.txt"]}
[tool.setuptools.dynamic.optional-dependencies]
testing = {file = ["requirements-test.txt"]}
[project.entry-points."swh.cli.subcommands"]
"swh.indexer" = "swh.indexer.cli"
[project.entry-points."swh.indexer_storage.classes"]
"postgresql" = "swh.indexer.storage:IndexerStorage"
"remote" = "swh.indexer.storage.api.client:RemoteStorage"
"memory" = "swh.indexer.storage.in_memory:IndexerStorage"
[project.urls]
"Homepage" = "https://gitlab.softwareheritage.org/swh/devel/swh-indexer"
"Bug Reports" = "https://gitlab.softwareheritage.org/swh/devel/swh-indexer/-/issues"
"Funding" = "https://www.softwareheritage.org/donate"
"Documentation" = "https://docs.softwareheritage.org/devel/swh-indexer/"
"Source" = "https://gitlab.softwareheritage.org/swh/devel/swh-indexer.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']