-
Notifications
You must be signed in to change notification settings - Fork 308
/
pyproject.toml
85 lines (75 loc) · 2.39 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
73
74
75
76
77
78
79
80
81
82
83
84
85
# pyproject.toml
[build-system]
requires = ["setuptools>=61.2", "setuptools_scm[toml]>=6.0"]
build-backend = "setuptools.build_meta"
[project]
name = "twine"
authors = [
{ name = "Donald Stufft and individual contributors", email = "donald@stufft.io" },
]
description = "Collection of utilities for publishing packages on PyPI"
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Operating System :: POSIX :: BSD",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
]
requires-python = ">=3.8"
dependencies = [
"pkginfo >= 1.8.1",
"readme-renderer >= 35.0",
"requests >= 2.20",
"requests-toolbelt >= 0.8.0, != 0.9.0",
"urllib3 >= 1.26.0",
"importlib-metadata >= 3.6",
# workaround for missing binaries on these platforms, see #1158
"keyring >= 15.1; platform_machine != 'ppc64le' and platform_machine != 's390x'",
"rfc3986 >= 1.4.0",
"rich >= 12.0.0",
# workaround for #1116
"pkginfo < 1.11",
]
dynamic = ["version"]
[project.readme]
file = "README.rst"
content-type = "text/x-rst"
[project.urls]
Homepage = "https://twine.readthedocs.io/"
Source = "https://github.com/pypa/twine/"
Documentation = "https://twine.readthedocs.io/en/latest/"
"Packaging tutorial" = "https://packaging.python.org/tutorials/packaging-projects/"
[project.entry-points."twine.registered_commands"]
check = "twine.commands.check:main"
upload = "twine.commands.upload:main"
register = "twine.commands.register:main"
[project.optional-dependencies]
keyring = ["keyring >= 15.1"]
[project.scripts]
twine = "twine.__main__:main"
[tool.setuptools]
packages = [
"twine",
"twine.commands",
]
include-package-data = true
license-files = ["LICENSE"]
[tool.setuptools_scm]
[tool.towncrier]
package = "twine"
filename = "docs/changelog.rst"
directory = "changelog"
issue_format = "`#{issue} <https://github.com/pypa/twine/issues/{issue}>`_"
underlines = ["-", "^"]