diff --git a/.gitignore b/.gitignore index 58948d4..745621d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ *.pyc *~ +*.egg-info/ # Unit test / coverage reports .coverage diff --git a/doc/source/conf.py b/doc/source/conf.py index 1c0114c..717e639 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -24,7 +24,6 @@ extensions = [ 'sphinx.ext.autodoc', #'sphinx.ext.intersphinx', 'zuul_sphinx.zuul', - 'oslosphinx' ] # autodoc generation is a bit aggressive and a nuisance when doing heavy diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..8abd148 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +pbr>=1.1.0 +sphinx>=1.5.1,<1.6.0 # BSD +pyyaml diff --git a/setup.cfg b/setup.cfg index fd2681f..5a03c8f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -14,6 +14,10 @@ classifier = Operating System :: POSIX :: Linux Programming Language :: Python +[files] +packages = + zuul_sphinx + [build_sphinx] all-files = 1 warning-is-error = 1 diff --git a/test-requirements.txt b/test-requirements.txt index d6676fe..8285871 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5,5 +5,3 @@ hacking>=0.12.0,<0.13 # Apache-2.0 bashate>=0.2 -sphinx>=1.5.1,<1.6.0 # BSD -oslosphinx>=4.7.0 # Apache-2.0 diff --git a/tox.ini b/tox.ini index 723d6a3..872157f 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,8 @@ envlist = pep8 [testenv] install_command = pip install {opts} {packages} -deps = -r{toxinidir}/test-requirements.txt +deps = -r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt commands = python setup.py testr --slowest --testr-args='{posargs}'