diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-09-12 14:40:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-12 14:40:22 -0400 |
commit | 49236d98a770d9604e65eb1728d2f8d68e35d493 (patch) | |
tree | 69b72d38c3e1f9a7db5caff58af829ba77ed9a5c /setup.py | |
parent | 4904e4a15e47b484b44eec9dce3c706c7423dcbe (diff) | |
parent | 5579f781e2c1e481708650e7a991992eec6f3f8b (diff) | |
download | cmd2-git-49236d98a770d9604e65eb1728d2f8d68e35d493.tar.gz |
Merge pull request #511 from python-cmd2/redundant_dependencies
Reduce redundant definition of dependencies
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -70,13 +70,14 @@ EXTRAS_REQUIRE = { ":sys_platform!='win32'": ['wcwidth'], # Python 3.4 and earlier require contextlib2 for temporarily redirecting stderr and stdout ":python_version<'3.5'": ['contextlib2', 'typing'], - # development only dependencies - # install with 'pip install -e .[dev]' - 'dev': [ - # for python 3.5 and earlier we need the third party mock module - "mock ; python_version<'3.6'", - 'pytest', 'codecov', 'pytest-cov', 'pytest-mock', 'tox', 'pylint', - 'sphinx', 'sphinx-rtd-theme', 'sphinx-autobuild', 'invoke', 'twine>=1.11', + # Extra dependencies for running unit tests + 'test': ["argcomplete ; sys_platform!='win32'", # include argcomplete tests where available + "mock ; python_version<'3.6'", # for python 3.5 and earlier we need the third party mock module + 'codecov', 'pytest', 'pytest-cov', 'pytest-mock'], + # development only dependencies: install with 'pip install -e .[dev]' + 'dev': ["mock ; python_version<'3.6'", # for python 3.5 and earlier we need the third party mock module + 'pytest', 'codecov', 'pytest-cov', 'pytest-mock', 'tox', 'pylint', + 'sphinx', 'sphinx-rtd-theme', 'sphinx-autobuild', 'invoke', 'twine>=1.11', ] } |