Skip to content
Snippets Groups Projects
Commit e219b571 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

development/test deps are in separate file

parent d98e3680
No related branches found
No related tags found
No related merge requests found
sphinx==1.6
sphinx-rtd-theme==0
mock==2
coverage==4
pytest==3
pytest-cov==2
pytest-runner==3
...@@ -22,6 +22,9 @@ basedir = op.dirname(__file__) ...@@ -22,6 +22,9 @@ basedir = op.dirname(__file__)
# Dependencies are listed in requirements.txt # Dependencies are listed in requirements.txt
install_requires = open(op.join(basedir, 'requirements.txt'), 'rt').readlines() install_requires = open(op.join(basedir, 'requirements.txt'), 'rt').readlines()
# Development/test dependencies are listed in requirements-dev.txt
dev_requires = open(op.join(basedir, 'requirements-dev.txt'), 'rt').readlines()
packages = find_packages( packages = find_packages(
exclude=('doc', 'tests', 'dist', 'build', 'fslpy.egg-info')) exclude=('doc', 'tests', 'dist', 'build', 'fslpy.egg-info'))
...@@ -104,15 +107,10 @@ setup( ...@@ -104,15 +107,10 @@ setup(
'Topic :: Software Development :: Libraries :: Python Modules'], 'Topic :: Software Development :: Libraries :: Python Modules'],
packages=packages, packages=packages,
install_requires=install_requires, install_requires=install_requires,
setup_requires=['pytest-runner', 'sphinx', 'sphinx-rtd-theme', 'mock'], setup_requires=dev_requires,
tests_require=['mock',
'coverage',
'pytest-cov',
'pytest-html',
'pytest-runner',
'pytest'],
test_suite='tests', test_suite='tests',
cmdclass={'doc' : doc}, cmdclass={'doc' : doc},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment