diff options
| author | kotfu <kotfu@kotfu.net> | 2018-05-28 14:28:57 -0600 |
|---|---|---|
| committer | kotfu <kotfu@kotfu.net> | 2018-05-28 14:28:57 -0600 |
| commit | 54d98f6b56e2282198799d4ae78272d8f0b82e37 (patch) | |
| tree | 38448c7e32fab252aee4913cb6035786643abac4 | |
| parent | 1595d75f455eddafc69a60c267471d4090c582e2 (diff) | |
| download | cmd2-git-54d98f6b56e2282198799d4ae78272d8f0b82e37.tar.gz | |
Add ‘python-requires >= 2.7’ for #421
| -rw-r--r-- | CHANGELOG.md | 6 | ||||
| -rwxr-xr-x | cmd2.py | 2 | ||||
| -rw-r--r-- | docs/conf.py | 2 | ||||
| -rwxr-xr-x | setup.py | 9 | ||||
| -rw-r--r-- | tests/test_cmd2.py | 2 |
5 files changed, 13 insertions, 8 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0bdfe163..add49b1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ +## 0.8.7 (TBD) +* Bug Fixes + * Make sure pip installs version 0.8.x if you have python 2.7 + ## 0.8.6 (May 27, 2018) * Bug Fixes - * Commands using the @with_argparser_and_unknown_args were not correctly recognized when tab completing + * Commands using the @with_argparser_and_unknown_args were not correctly recognized when tab completing * Fixed issue where completion display function was overwritten when a submenu quits * Fixed ``AttributeError`` on Windows when running a ``select`` command cause by **pyreadline** not implementing ``remove_history_item`` * Enhancements @@ -229,7 +229,7 @@ if six.PY2 and sys.platform.startswith('lin'): pass -__version__ = '0.8.6' +__version__ = '0.8.7-rc1' # Pyparsing enablePackrat() can greatly speed up parsing, but problems have been seen in Python 3 in the past pyparsing.ParserElement.enablePackrat() diff --git a/docs/conf.py b/docs/conf.py index c5a4846e..c4247391 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -62,7 +62,7 @@ author = 'Catherine Devlin and Todd Leonhardt' # The short X.Y version. version = '0.8' # The full version, including alpha/beta/rc tags. -release = '0.8.6' +release = '0.8.7-rc1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -8,11 +8,11 @@ import sys import setuptools from setuptools import setup -VERSION = '0.8.6' +VERSION = '0.8.7-rc1' DESCRIPTION = "cmd2 - a tool for building interactive command line applications in Python" -LONG_DESCRIPTION = """cmd2 is a tool for building interactive command line applications in Python. Its goal is to make -it quick and easy for developers to build feature-rich and user-friendly interactive command line applications. It -provides a simple API which is an extension of Python's built-in cmd module. cmd2 provides a wealth of features on top +LONG_DESCRIPTION = """cmd2 is a tool for building interactive command line applications in Python. Its goal is to make +it quick and easy for developers to build feature-rich and user-friendly interactive command line applications. It +provides a simple API which is an extension of Python's built-in cmd module. cmd2 provides a wealth of features on top of cmd to make your life easier and eliminates much of the boilerplate code which would be necessary when using cmd. The latest documentation for cmd2 can be read online here: @@ -108,6 +108,7 @@ setup( platforms=['any'], py_modules=["cmd2"], keywords='command prompt console cmd', + python_requires='>=2.7', install_requires=INSTALL_REQUIRES, extras_require=EXTRAS_REQUIRE, tests_require=TESTS_REQUIRE, diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index b3fcde3f..fa02ad3a 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -26,7 +26,7 @@ from conftest import run_cmd, normalize, BASE_HELP, BASE_HELP_VERBOSE, \ def test_ver(): - assert cmd2.__version__ == '0.8.6' + assert cmd2.__version__ == '0.8.7-rc1' def test_empty_statement(base_app): |
