Skip to content

Commit

Permalink
Add "testing" extras_require, use it in tox (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed committed Mar 8, 2019
1 parent 4971a3f commit a5a1f61
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
8 changes: 8 additions & 0 deletions setup.py
Expand Up @@ -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': [
Expand Down
8 changes: 1 addition & 7 deletions tox.ini
Expand Up @@ -7,6 +7,7 @@ envlist =
docs

[testenv]
extras = testing
basepython =
pypy: {env:TOXPYTHON:pypy}
pypy3: {env:TOXPYTHON:pypy3}
Expand All @@ -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 =
Expand Down

0 comments on commit a5a1f61

Please sign in to comment.