Skip to content

Commit

Permalink
Add testing requirements to setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rlaverde committed Feb 22, 2017
1 parent 967e9a7 commit d11acb9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,15 @@ def run(self):
'numpydoc',
]

extra_require = {
'test:python_version == "2.7"': ['mock'],
'test': ['pytest', 'pytest-qt', 'pytest-cov', 'mock', 'coveralls',
'ciocheck', 'flaky', 'pandas', 'scipy', 'sympy', 'pillow'],
}

if 'setuptools' in sys.modules:
setup_args['install_requires'] = install_requires
setup_args['extras_require'] = extras_require

setup_args['entry_points'] = {
'gui_scripts': [
Expand Down

0 comments on commit d11acb9

Please sign in to comment.