[pyproject.toml] Translate dynamic option to pyproject.toml
This commit is contained in:
parent
c3583dee0b
commit
411c2cbf9d
|
@ -1,13 +1,6 @@
|
||||||
[project]
|
[project]
|
||||||
|
|
||||||
name = "pytest"
|
name = "pytest"
|
||||||
dynamic = [
|
dynamic = ["version"]
|
||||||
"version",
|
|
||||||
"optional-dependencies",
|
|
||||||
"dependencies",
|
|
||||||
"scripts",
|
|
||||||
"requires-python"
|
|
||||||
]
|
|
||||||
description = "pytest: simple powerful testing with Python"
|
description = "pytest: simple powerful testing with Python"
|
||||||
authors = [
|
authors = [
|
||||||
{name = "Holger Krekel"},
|
{name = "Holger Krekel"},
|
||||||
|
@ -41,6 +34,32 @@ classifiers = [
|
||||||
"Topic :: Utilities",
|
"Topic :: Utilities",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
"colorama;sys_platform=='win32'",
|
||||||
|
"exceptiongroup>=1.0.0rc8;python_version<'3.11'",
|
||||||
|
"iniconfig",
|
||||||
|
"packaging",
|
||||||
|
"pluggy>=1.4.0,<2.0",
|
||||||
|
"tomli>=1.0.0;python_version<'3.11'",
|
||||||
|
]
|
||||||
|
requires-python = ">=3.8"
|
||||||
|
|
||||||
|
[project.optional-dependencies]
|
||||||
|
testing = [
|
||||||
|
"argcomplete",
|
||||||
|
"attrs>=19.2.0",
|
||||||
|
"hypothesis>=3.56",
|
||||||
|
"mock",
|
||||||
|
"pygments>=2.7.2",
|
||||||
|
"requests",
|
||||||
|
"setuptools",
|
||||||
|
"xmlschema",
|
||||||
|
]
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
"py.test" = "pytest:console_main"
|
||||||
|
pytest = "pytest:console_main"
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
Homepage = "https://docs.pytest.org/en/latest/"
|
Homepage = "https://docs.pytest.org/en/latest/"
|
||||||
Changelog = "https://docs.pytest.org/en/stable/changelog.html"
|
Changelog = "https://docs.pytest.org/en/stable/changelog.html"
|
||||||
|
|
24
setup.cfg
24
setup.cfg
|
@ -1,34 +1,10 @@
|
||||||
[options]
|
[options]
|
||||||
install_requires =
|
|
||||||
iniconfig
|
|
||||||
packaging
|
|
||||||
pluggy>=1.4.0,<2.0
|
|
||||||
colorama;sys_platform=="win32"
|
|
||||||
exceptiongroup>=1.0.0rc8;python_version<"3.11"
|
|
||||||
tomli>=1.0.0;python_version<"3.11"
|
|
||||||
python_requires = >=3.8
|
|
||||||
package_dir =
|
package_dir =
|
||||||
=src
|
=src
|
||||||
setup_requires =
|
setup_requires =
|
||||||
setuptools
|
setuptools
|
||||||
setuptools-scm>=6.0
|
setuptools-scm>=6.0
|
||||||
|
|
||||||
[options.entry_points]
|
|
||||||
console_scripts =
|
|
||||||
pytest=pytest:console_main
|
|
||||||
py.test=pytest:console_main
|
|
||||||
|
|
||||||
[options.extras_require]
|
|
||||||
testing =
|
|
||||||
argcomplete
|
|
||||||
attrs>=19.2.0
|
|
||||||
hypothesis>=3.56
|
|
||||||
mock
|
|
||||||
pygments>=2.7.2
|
|
||||||
requests
|
|
||||||
setuptools
|
|
||||||
xmlschema
|
|
||||||
|
|
||||||
[options.package_data]
|
[options.package_data]
|
||||||
_pytest = py.typed
|
_pytest = py.typed
|
||||||
pytest = py.typed
|
pytest = py.typed
|
||||||
|
|
Loading…
Reference in New Issue