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
|
# pyproject.toml
[build-system]
requires = ["setuptools>=77.0.3", "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"
license = "Apache-2.0"
license-files = ["LICENSE"]
classifiers = [
"Intended Audience :: Developers",
"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.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
]
requires-python = ">=3.9"
dependencies = [
"readme-renderer >= 35.0",
"requests >= 2.20",
"requests-toolbelt >= 0.8.0, != 0.9.0",
"urllib3 >= 1.26.0",
"importlib-metadata >= 3.6; python_version < '3.10'",
# workaround for missing binaries on these platforms, see #1158
"keyring >= 21.2.0; platform_machine != 'ppc64le' and platform_machine != 's390x'",
"rfc3986 >= 1.4.0",
"rich >= 12.0.0",
"packaging >= 24.0",
"id",
]
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 >= 21.2.0"]
[project.scripts]
twine = "twine.__main__:main"
[tool.setuptools]
packages = ["twine", "twine.commands"]
include-package-data = true
[tool.setuptools_scm]
[tool.towncrier]
package = "twine"
filename = "docs/changelog.rst"
directory = "changelog"
issue_format = "`#{issue} <https://github.com/pypa/twine/issues/{issue}>`_"
underlines = ["-", "^"]
|