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
|
[project]
name = "some-project"
author = { name = "Anderson Bravalheri" }
description = "Some description"
license = { text = "MIT" }
readme = ["README.rst"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Topic :: Utilities",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Operating System :: Unix",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
]
dynamic = ["version"]
requires-python = ">=3.6"
dependencies = [
"importlib-metadata; python_version<\"3.8\"",
"appdirs>=1.4.4,<2",
]
[tool.setuptools]
zip-safe = false
include-package-data = true
exclude-package-data = { "pkg1" = ["*.yaml"] }
package-dir = {"" = "src"} # all the packages under the src folder
platforms = ["any"]
[tool.setuptools.packages]
find = { where = ["src"], exclude = ["tests"], namespaces = true }
|