Skip to content

Commit 54d98f6

Browse files
committed
Add ‘python-requires >= 2.7’ for #421
1 parent 1595d75 commit 54d98f6

File tree

5 files changed

+13
-8
lines changed

5 files changed

+13
-8
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
## 0.8.7 (TBD)
2+
* Bug Fixes
3+
* Make sure pip installs version 0.8.x if you have python 2.7
4+
15
## 0.8.6 (May 27, 2018)
26
* Bug Fixes
3-
* Commands using the @with_argparser_and_unknown_args were not correctly recognized when tab completing
7+
* Commands using the @with_argparser_and_unknown_args were not correctly recognized when tab completing
48
* Fixed issue where completion display function was overwritten when a submenu quits
59
* Fixed ``AttributeError`` on Windows when running a ``select`` command cause by **pyreadline** not implementing ``remove_history_item``
610
* Enhancements

cmd2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def pyreadline_remove_history_item(pos):
229229
pass
230230

231231

232-
__version__ = '0.8.6'
232+
__version__ = '0.8.7-rc1'
233233

234234
# Pyparsing enablePackrat() can greatly speed up parsing, but problems have been seen in Python 3 in the past
235235
pyparsing.ParserElement.enablePackrat()

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
# The short X.Y version.
6363
version = '0.8'
6464
# The full version, including alpha/beta/rc tags.
65-
release = '0.8.6'
65+
release = '0.8.7-rc1'
6666

6767
# The language for content autogenerated by Sphinx. Refer to documentation
6868
# for a list of supported languages.

setup.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
import setuptools
99
from setuptools import setup
1010

11-
VERSION = '0.8.6'
11+
VERSION = '0.8.7-rc1'
1212
DESCRIPTION = "cmd2 - a tool for building interactive command line applications in Python"
13-
LONG_DESCRIPTION = """cmd2 is a tool for building interactive command line applications in Python. Its goal is to make
14-
it quick and easy for developers to build feature-rich and user-friendly interactive command line applications. It
15-
provides a simple API which is an extension of Python's built-in cmd module. cmd2 provides a wealth of features on top
13+
LONG_DESCRIPTION = """cmd2 is a tool for building interactive command line applications in Python. Its goal is to make
14+
it quick and easy for developers to build feature-rich and user-friendly interactive command line applications. It
15+
provides a simple API which is an extension of Python's built-in cmd module. cmd2 provides a wealth of features on top
1616
of cmd to make your life easier and eliminates much of the boilerplate code which would be necessary when using cmd.
1717
1818
The latest documentation for cmd2 can be read online here:
@@ -108,6 +108,7 @@
108108
platforms=['any'],
109109
py_modules=["cmd2"],
110110
keywords='command prompt console cmd',
111+
python_requires='>=2.7',
111112
install_requires=INSTALL_REQUIRES,
112113
extras_require=EXTRAS_REQUIRE,
113114
tests_require=TESTS_REQUIRE,

tests/test_cmd2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727

2828
def test_ver():
29-
assert cmd2.__version__ == '0.8.6'
29+
assert cmd2.__version__ == '0.8.7-rc1'
3030

3131

3232
def test_empty_statement(base_app):

0 commit comments

Comments
 (0)