diff options
| author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-14 20:40:49 -0400 |
|---|---|---|
| committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-14 20:40:49 -0400 |
| commit | 0598412960afcbd5fbe42d6cf100b7af658cd959 (patch) | |
| tree | db3b490fa05ef029012c02aa11a061b2634f1063 /setup.py | |
| parent | ddd07f9cd6d72baca1232ae98856cf3b3d564706 (diff) | |
| download | cmd2-git-0598412960afcbd5fbe42d6cf100b7af658cd959.tar.gz | |
Deprecate support for Python 3.4 and begin testing with Python 3.8 beta
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -21,10 +21,10 @@ Intended Audience :: System Administrators License :: OSI Approved :: MIT License Programming Language :: Python Programming Language :: Python :: 3 -Programming Language :: Python :: 3.4 Programming Language :: Python :: 3.5 Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 +Programming Language :: Python :: 3.8 Programming Language :: Python :: Implementation :: CPython Topic :: Software Development :: Libraries :: Python Modules """.splitlines()))) # noqa: E128 @@ -36,14 +36,12 @@ INSTALL_REQUIRES = ['pyperclip >= 1.5.27', 'colorama', 'attrs >= 16.3.0', 'wcwid EXTRAS_REQUIRE = { # Windows also requires pyreadline to ensure tab completion works ":sys_platform=='win32'": ['pyreadline'], - # Python 3.4 and earlier require contextlib2 for temporarily redirecting stderr and stdout - ":python_version<'3.5'": ['contextlib2', 'typing'], # 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 and earlier we need the third party mock module + "mock ; python_version<'3.6'", # for python 3.5 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 + 'dev': ["mock ; python_version<'3.6'", # for python 3.5 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', ] @@ -63,7 +61,7 @@ setup( platforms=['any'], packages=['cmd2'], keywords='command prompt console cmd', - python_requires='>=3.4', + python_requires='>=3.5', setup_requires=SETUP_REQUIRES, install_requires=INSTALL_REQUIRES, extras_require=EXTRAS_REQUIRE, |
