mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-07 21:34:32 +08:00
setup.py: add "testing" extras_require
Ref: https://github.com/davidhalter/parso/issues/15#issuecomment-339964845
This commit is contained in:
committed by
Dave Halter
parent
3be8ac7786
commit
d6d6c5038f
5
setup.py
5
setup.py
@@ -46,4 +46,9 @@ setup(name='parso',
|
||||
'Topic :: Text Editors :: Integrated Development Environments (IDE)',
|
||||
'Topic :: Utilities',
|
||||
],
|
||||
extras_require={
|
||||
'testing': [
|
||||
'pytest>=3.0.7',
|
||||
],
|
||||
},
|
||||
)
|
||||
|
||||
3
tox.ini
3
tox.ini
@@ -1,11 +1,10 @@
|
||||
[tox]
|
||||
envlist = py27, py33, py34, py35, py36, py37
|
||||
[testenv]
|
||||
extras = testing
|
||||
deps =
|
||||
{env:_SETUPTOOLS_DEP:setuptools}
|
||||
{env:_PARSO_TEST_PYTEST_DEP:pytest>=3.0.7}
|
||||
# For --lf and --ff.
|
||||
pytest-cache
|
||||
setenv =
|
||||
# https://github.com/tomchristie/django-rest-framework/issues/1957
|
||||
# tox corrupts __pycache__, solution from here:
|
||||
|
||||
Reference in New Issue
Block a user