[pyproject.toml] Translate dynamic option to pyproject.toml
This commit is contained in:
parent
c3583dee0b
commit
411c2cbf9d
|
@ -1,13 +1,6 @@
|
|||
[project]
|
||||
|
||||
name = "pytest"
|
||||
dynamic = [
|
||||
"version",
|
||||
"optional-dependencies",
|
||||
"dependencies",
|
||||
"scripts",
|
||||
"requires-python"
|
||||
]
|
||||
dynamic = ["version"]
|
||||
description = "pytest: simple powerful testing with Python"
|
||||
authors = [
|
||||
{name = "Holger Krekel"},
|
||||
|
@ -41,6 +34,32 @@ classifiers = [
|
|||
"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]
|
||||
Homepage = "https://docs.pytest.org/en/latest/"
|
||||
Changelog = "https://docs.pytest.org/en/stable/changelog.html"
|
||||
|
|
24
setup.cfg
24
setup.cfg
|
@ -1,34 +1,10 @@
|
|||
[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 =
|
||||
=src
|
||||
setup_requires =
|
||||
setuptools
|
||||
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]
|
||||
_pytest = py.typed
|
||||
pytest = py.typed
|
||||
|
|
Loading…
Reference in New Issue