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
|
[project]
name = "package"
description = "description"
authors = [{ name = "Name", email = "email@example.com" }]
readme = "README.rst"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Environment :: Web Environment",
]
dynamic = ["version"]
requires-python = ">=3.8"
dependencies = [
"backports.zoneinfo; python_version<\"3.9\"",
"tzdata; sys_platform == 'win32'",
]
[project.license]
text = "BSD-3-Clause"
[project.urls]
Homepage = "https://www.example.com/"
Documentation = "https://docs.example.com/"
[project.optional-dependencies]
argon2 = ["argon2-cffi >= 19.1.0"]
[project.scripts]
run = "project.__main__:main"
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = {find = {}}
include-package-data = true
zip-safe = false
[tool.setuptools.dynamic]
version = {attr = "project.__version__"}
[tool.distutils.bdist_rpm]
doc-files = "docs extras AUTHORS INSTALL LICENSE README.rst"
install-script = "scripts/rpm-install.sh"
[tool.flake8]
exclude = "build,.git,.tox,./tests/.env"
ignore = "W504"
max-line-length = "999"
[tool.isort]
default_section = "THIRDPARTY"
include_trailing_comma = true
line_length = 4
multi_line_output = 6
|