diff options
-rw-r--r-- | doc/requirements.txt | 1 | ||||
-rw-r--r-- | doc/source/conf.py | 2 | ||||
-rw-r--r-- | test-requirements.txt | 3 | ||||
-rw-r--r-- | tox.ini | 4 |
4 files changed, 6 insertions, 4 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt new file mode 100644 index 0000000..23a5062 --- /dev/null +++ b/doc/requirements.txt @@ -0,0 +1 @@ +sphinx>=1.1.2,!=1.2.0,!=1.3b1 # BSD diff --git a/doc/source/conf.py b/doc/source/conf.py index 1208b80..55b6f7d 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -120,7 +120,7 @@ html_theme = 'default' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] +#html_static_path = ['_static'] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. diff --git a/test-requirements.txt b/test-requirements.txt index 6d929e8..66b0d94 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -3,6 +3,5 @@ # process, which may cause wedges in the gate later. coverage -nose +pytest six>=1.9.0 -sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3 # BSD @@ -5,7 +5,7 @@ envlist = py{27,35,36,37,38,39}-compilelibs,pep8,docs deps = -r{toxinidir}/test-requirements.txt commands= - nosetests --no-path-adjustment -v test/ + pytest -v test/ setenv = LIBERASURECODE_DIR={envdir}/liberasurecode ISAL_DIR={envdir}/isa-l JERASURE_DIR={envdir}/jerasure @@ -26,4 +26,6 @@ commands= commands = {posargs} [testenv:docs] +deps = + -r{toxinidir}/doc/requirements.txt commands = python setup.py build_sphinx |