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
|
[project]
name = "project"
description = "description"
license = { text = "BSD-3-Clause" }
dynamic = ["version"]
requires-python = ">= 3.6"
[[project.authors]]
name = "Name 1"
email = "name1@example1.com"
[[project.authors]]
name = "Name 2"
email = "name2@example2.com"
[project.readme]
file = "README.rst"
content-type = "text/x-rst"
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
package-dir = {"" = "src"}
include-package-data = true
script-files = [
"bin/run.py"
]
[tool.setuptools.cmdclass]
sdist = "pkg.my-invalid:mod.Custom~Sdist"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.dynamic]
version = {file = "__version__.txt"}
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.coverage.paths]
source = [
"src",
"*/site-packages",
]
|