diff options
author | Eric Lin <anselor@gmail.com> | 2020-07-07 13:59:43 -0400 |
---|---|---|
committer | anselor <anselor@gmail.com> | 2020-07-08 14:51:31 -0400 |
commit | ff64eff8854c9b52a1f48e4b843e9a738d2b388d (patch) | |
tree | 734419988bbb26a31ecc1caa9e18b0a6686cc6f3 /setup.py | |
parent | bc50e370c6113ada43acbfaf94d211f3917a7870 (diff) | |
download | cmd2-git-ff64eff8854c9b52a1f48e4b843e9a738d2b388d.tar.gz |
Swap out tox for nox
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 22 |
1 files changed, 17 insertions, 5 deletions
@@ -33,18 +33,30 @@ Topic :: Software Development :: Libraries :: Python Modules SETUP_REQUIRES = ['setuptools_scm >= 3.0'] -INSTALL_REQUIRES = ['attrs >= 16.3.0', 'colorama >= 0.3.7', 'pyperclip >= 1.6', 'setuptools >= 34.4', 'wcwidth >= 0.1.7'] +INSTALL_REQUIRES = [ + 'attrs >= 16.3.0', + 'colorama >= 0.3.7', + 'pyperclip >= 1.6', + 'setuptools >= 34.4', + 'wcwidth >= 0.1.7', +] EXTRAS_REQUIRE = { # Windows also requires pyreadline to ensure tab completion works ":sys_platform=='win32'": ['pyreadline'], # Extra dependencies for running unit tests - 'test': ["gnureadline; sys_platform=='darwin'", # include gnureadline on macOS to ensure it is available in tox env - "mock ; python_version<'3.6'", # for python 3.5 we need the third party mock module - 'codecov', 'coverage', 'pytest', 'pytest-cov', 'pytest-mock'], + 'test': [ + "gnureadline; sys_platform=='darwin'", # include gnureadline on macOS to ensure it is available in tox env + "mock ; python_version<'3.6'", # for python 3.5 we need the third party mock module + 'codecov', + 'coverage', + 'pytest', + 'pytest-cov', + 'pytest-mock', + ], # development only dependencies: install with 'pip install -e .[dev]' 'dev': ["mock ; python_version<'3.6'", # for python 3.5 we need the third party mock module - 'pytest', 'codecov', 'pytest-cov', 'pytest-mock', 'tox', 'flake8', + 'pytest', 'codecov', 'pytest-cov', 'pytest-mock', 'tox', 'nox', 'flake8', 'sphinx', 'sphinx-rtd-theme', 'sphinx-autobuild', 'doc8', 'invoke', 'twine>=1.11', ] |