1
0
mirror of https://github.com/fedora-python/tox-current-env.git synced 2024-12-24 00:56:16 +01:00

Define and use a [tests] extra

This commit is contained in:
Miro Hrončok 2022-12-07 22:32:57 +01:00
parent d2f9344898
commit 4f97be7952
2 changed files with 9 additions and 3 deletions

View File

@ -22,6 +22,13 @@ setup(
"tox>=3.15,<4", "tox>=3.15,<4",
"importlib_metadata; python_version < '3.8'" "importlib_metadata; python_version < '3.8'"
], ],
extras_require={
"tests": [
"pytest",
"pytest-xdist",
"packaging",
],
},
python_requires=">=3.6", python_requires=">=3.6",
classifiers=[ classifiers=[
"Development Status :: 3 - Alpha", "Development Status :: 3 - Alpha",

View File

@ -5,10 +5,9 @@
envlist = {py36,py37,py38,py39,py310}-tox{release,master,315} envlist = {py36,py37,py38,py39,py310}-tox{release,master,315}
[testenv] [testenv]
extras =
tests
deps= deps=
pytest
pytest-xdist
packaging
tox315: tox >=3.15,<3.16 tox315: tox >=3.15,<3.16
toxrelease: tox < 4 toxrelease: tox < 4
toxmaster: git+https://github.com/tox-dev/tox.git@master toxmaster: git+https://github.com/tox-dev/tox.git@master