mirror of
https://github.com/fedora-python/tox-current-env.git
synced 2024-12-23 16:46:14 +01:00
Define and use a [tests] extra
This commit is contained in:
parent
d2f9344898
commit
4f97be7952
7
setup.py
7
setup.py
@ -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",
|
||||||
|
5
tox.ini
5
tox.ini
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user