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'
40 O2APP_CONFIG=configs/o2app.conf
54 sphinxcontrib-httpdomain
59 sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
61 echo "Generated docs available in {toxinidir}/docs/_build/html"
63 whitelist_externals = echo
65 [testenv:docs-linkcheck]
69 sphinxcontrib-httpdomain
72 commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck