summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-09-12 14:40:22 -0400
committerGitHub <noreply@github.com>2018-09-12 14:40:22 -0400
commit49236d98a770d9604e65eb1728d2f8d68e35d493 (patch)
tree69b72d38c3e1f9a7db5caff58af829ba77ed9a5c /setup.py
parent4904e4a15e47b484b44eec9dce3c706c7423dcbe (diff)
parent5579f781e2c1e481708650e7a991992eec6f3f8b (diff)
downloadcmd2-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-xsetup.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/setup.py b/setup.py
index 0425cf7e..53645eff 100755
--- a/setup.py
+++ b/setup.py
@@ -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',
]
}