From cae71f9e4726f0ca111084da40df602da58669ce Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sat, 16 Feb 2019 22:38:42 +0100 Subject: [PATCH] Add "testing" extras_require, use it in tox --- setup.py | 8 ++++++++ tox.ini | 8 +------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/setup.py b/setup.py index 6eab1998..3ffe4bef 100644 --- a/setup.py +++ b/setup.py @@ -126,6 +126,14 @@ def run(self): ], python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', extras_require={ + 'testing': [ + 'fields', + 'hunter', + 'process-tests==2.0.0', + 'pytest-xdist==1.25.0', + 'six', + 'virtualenv', + ] }, entry_points={ 'pytest11': [ diff --git a/tox.ini b/tox.ini index b0933ed8..8b15169f 100644 --- a/tox.ini +++ b/tox.ini @@ -7,6 +7,7 @@ envlist = docs [testenv] +extras = testing basepython = pypy: {env:TOXPYTHON:pypy} pypy3: {env:TOXPYTHON:pypy3} @@ -25,16 +26,9 @@ deps = t310: pytest==3.10.1 t40: pytest==4.0.2 t41: pytest==4.1.1 - pytest-xdist==1.25.0 c44: coverage==4.4.2 c45: coverage==4.5.2 - - virtualenv - hunter - process-tests==2.0.2 - six - fields pip_pre = true commands =