Move requirements for docs and testing into extras

This commit is contained in:
Jason R. Coombs 2017-04-21 12:31:54 -04:00
parent fbe7cb7fa1
commit 243e44fdb7
5 changed files with 13 additions and 10 deletions

View File

@ -1,3 +1,5 @@
requirements_file: docs/requirements.txt
python: python:
version: 3 version: 3
extra_requirements:
- docs
pip_install: true

View File

@ -1,4 +0,0 @@
.
sphinx
jaraco.packaging>=3.2
rst.linker>=1.9

View File

@ -27,6 +27,15 @@ params = dict(
install_requires=[ install_requires=[
], ],
extras_require={ extras_require={
'testing': [
'pytest>=2.8',
'pytest-sugar',
],
'docs': [
'sphinx',
'jaraco.packaging>=3.2',
'rst.linker>=1.9',
],
}, },
setup_requires=[ setup_requires=[
'setuptools_scm>=1.15.0', 'setuptools_scm>=1.15.0',

View File

@ -1,2 +0,0 @@
pytest >= 2.8
pytest-sugar

View File

@ -1,6 +1,4 @@
[testenv] [testenv]
deps =
-rtests/requirements.txt
commands = py.test {posargs} commands = py.test {posargs}
usedevelop = True usedevelop = True
extras = testing