summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2018-05-18 17:11:20 -0600
committerkotfu <kotfu@kotfu.net>2018-05-18 17:11:20 -0600
commitded80cc1434527b6a10e29ba9223e9935dec235e (patch)
treec280cff4f893f8eff5c60afde34dda49f67ea3e7 /setup.py
parent2973d1294755312a0f0414d12a7928374f5c7d59 (diff)
downloadcmd2-git-ded80cc1434527b6a10e29ba9223e9935dec235e.tar.gz
Update for current best practices for dev dependency installation
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index 639afe1c..240dfe43 100755
--- a/setup.py
+++ b/setup.py
@@ -67,10 +67,13 @@ 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': [
+ 'pytest', 'pytest-cov', 'tox', 'pylint', 'sphinx', 'sphinx-rtd-theme',
+ ]
}
-TESTS_REQUIRE = ['pytest', 'pytest-xdist']
-
setup(
name="cmd2",
version=VERSION,
@@ -87,5 +90,4 @@ setup(
python_requires='>=3.4',
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRE,
- tests_require=TESTS_REQUIRE,
)