diff options
author | kotfu <kotfu@kotfu.net> | 2018-05-18 17:11:20 -0600 |
---|---|---|
committer | kotfu <kotfu@kotfu.net> | 2018-05-18 17:11:20 -0600 |
commit | ded80cc1434527b6a10e29ba9223e9935dec235e (patch) | |
tree | c280cff4f893f8eff5c60afde34dda49f67ea3e7 /setup.py | |
parent | 2973d1294755312a0f0414d12a7928374f5c7d59 (diff) | |
download | cmd2-git-ded80cc1434527b6a10e29ba9223e9935dec235e.tar.gz |
Update for current best practices for dev dependency installation
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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, ) |