Skip to content

Commit

Permalink
Merge pull request #2220 from msabramo/dev-requirements.txt
Browse files Browse the repository at this point in the history
Move dev reqs from tox.ini to dev-requirements.txt
  • Loading branch information
dstufft committed Dec 19, 2014
2 parents b1c3afe + ce3ceb7 commit 4d7cdd7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 24 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ exclude .mailmap
exclude .travis.yml
exclude pip/_vendor/Makefile
exclude tox.ini
exclude dev-requirements.txt

recursive-include pip/_vendor *.pem
recursive-include docs Makefile *.rst *.py *.bat
Expand Down
10 changes: 10 additions & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
https://github.com/spulec/freezegun/archive/master.zip#egg=freezegun
pretend
pytest
pytest-capturelog
pytest-cov
pytest-timeout
pytest-xdist
mock
scripttest>=1.3
https://github.com/pypa/virtualenv/archive/develop.zip#egg=virtualenv
31 changes: 7 additions & 24 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,38 +1,22 @@
[tox]
envlist =
docs,packaging,pep8,py3pep8,py26,py27,py32,py33,py34,pypy
envlist = docs, packaging, pep8, py3pep8, py26, py27, py32, py33, py34, pypy

[testenv]
deps =
https://github.com/spulec/freezegun/archive/master.zip#egg=freezegun
pretend
pytest
pytest-capturelog
pytest-cov
pytest-timeout
pytest-xdist
mock
scripttest>=1.3
https://github.com/pypa/virtualenv/archive/develop.zip#egg=virtualenv
commands =
py.test --timeout 300 []
install_command =
python -m pip install --pre {opts} {packages}
deps = -r{toxinidir}/dev-requirements.txt
commands = py.test --timeout 300 []
install_command = python -m pip install --pre {opts} {packages}

[testenv:py26]
install_command =
pip install --pre {opts} {packages}
install_command = pip install --pre {opts} {packages}

[testenv:docs]
deps = sphinx
basepython = python2.7
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html

[testenv:packaging]
deps = check-manifest
commands =
check-manifest
commands = check-manifest

[testenv:pep8]
basepython = python2.7
Expand All @@ -44,7 +28,6 @@ basepython = python3.3
deps = flake8
commands = flake8 .


[flake8]
exclude = .tox,*.egg,build,_vendor,data
select = E,W,F

0 comments on commit 4d7cdd7

Please sign in to comment.