1 # content of: tox.ini , put in same dir as setup.py
19 # NOTE: relative paths were used due to '-w' flag for nosetests util
22 install_command = pip install -U {opts} {packages}
23 deps = -r{toxinidir}/requirements.txt
24 -r{toxinidir}/requirements-test.txt
25 whitelist_externals = bash, flake8, pytest
28 # use pip to report dependencies with versions
29 whitelist_externals = sh
30 commands = sh -c 'pip freeze > requirements.txt'
52 sphinxcontrib-httpdomain
57 sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
59 echo "Generated docs available in {toxinidir}/docs/_build/html"
61 whitelist_externals = echo
63 [testenv:docs-linkcheck]
67 sphinxcontrib-httpdomain
70 commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck