Commit 6dbf6004 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

pin sphinx version, as documentation build is broken on later releases

parent a7ea4c06
sphinx==1.6.*
sphinx_rtd_theme==0.*
mock==2.*
coverage==4.*
pytest==3.*
pytest-cov==2.*
pytest-runner>=2.*,<=3.*
......@@ -21,7 +21,12 @@ from setuptools import Command
basedir = op.dirname(__file__)
# Dependencies are listed in requirements.txt
install_requires = open(op.join(basedir, 'requirements.txt'), 'rt').readlines()
with open(op.join(basedir, 'requirements.txt'), 'rt') as f:
install_requires = [l.strip() for l in f.readlines()]
# Dev-dependencies in requirements-dev.txt
with open(op.join(basedir, 'requirements-dev.txt'), 'rt') as f:
dev_requires = [l.strip() for l in f.readlines()]
packages = find_packages(
exclude=('doc', 'tests', 'dist', 'build', 'fsleyes_props.egg-info'))
......@@ -103,13 +108,7 @@ setup(
packages=packages,
install_requires=install_requires,
setup_requires=['pytest-runner', 'sphinx', 'sphinx-rtd-theme', 'mock'],
tests_require=['pytest',
'mock',
'coverage',
'pytest-cov',
'pytest-html',
'pytest-runner'],
setup_requires=dev_requires,
test_suite='tests',
cmdclass={
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment