-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
71 lines (61 loc) · 1.86 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "rpm_s3_mirror"
authors = [
{ name="Aiven", email="[email protected]" },
]
description = "Tool for syncing RPM repositories with S3"
readme = "README.md"
requires-python = ">=3.7"
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Natural Language :: English",
]
license = { text = "Apache License 2.0" }
dynamic = ["version"]
dependencies = [
"defusedxml>=0.7.1,<1",
"requests>=2.27.1,<3",
"python-dateutil>=2.8.1,<3",
"botocore>=1.23.50,<2",
"lxml>=4.6.5",
"zstandard>=0.21.0",
]
[project.optional-dependencies]
dev = [
"black>=22.8.0,<23",
"click>=8.0.1,<9",
]
[project.urls]
"Homepage" = "https://github.com/aiven/rpm-s3-mirror"
"Bug Tracker" = "https://github.com/aiven/rpm-s3-mirror/issues"
[project.scripts]
rpm_s3_mirror = "rpm_s3_mirror.__main__:main"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "rpm_s3_mirror/version.py"
# NOTE: you have to use single-quoted strings in TOML for regular expressions.
# It's the equivalent of r-strings in Python. Multiline strings are treated as
# verbose regular expressions by Black. Use [ ] to denote a significant space
# character.
[tool.black]
line-length = 125
target-version = ['py37', 'py38', 'py39'] # 'py310' is not yet available on Fedora 34
include = '\.pyi?$'
exclude = '''
/(
\.direnv|\.eggs|\.git|\.mypy_cache|\.venv
)
'''