summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorkotfu <jared@kotfu.net>2018-05-24 19:07:45 -0600
committerGitHub <noreply@github.com>2018-05-24 19:07:45 -0600
commitcad21a60fa92ebe4a7c177142d273f9f7497967b (patch)
tree3cfa590653af8b7570bd4073384467d2ca736fa0 /setup.py
parent5d64ebee348aeffb02fc385f903c9af431e3721b (diff)
parent190fecb34ac91e25f64615f378d6d59ef6d77de8 (diff)
downloadcmd2-git-cad21a60fa92ebe4a7c177142d273f9f7497967b.tar.gz
Merge pull request #413 from python-cmd2/speedup_import
Defer certain imports
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,
)