summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md8
-rwxr-xr-xREADME.md3
-rwxr-xr-xcmd2.py2
-rwxr-xr-xsetup.py6
-rw-r--r--tests/test_cmd2.py2
5 files changed, 17 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bc5afd1f..76e243ac 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,11 @@
+## 0.7.9 (TBD)
+
+* Bug Fixes
+ * Fixed a couple broken examples
+* Enhancements
+ * Improved documentation for modifying shortcuts (command aliases)
+ * Made ``pyreadline`` a dependency on Windows to ensure tab-completion works
+
## 0.7.8 (November 8, 2017)
* Bug Fixes
diff --git a/README.md b/README.md
index f1fce0a4..c3625a80 100755
--- a/README.md
+++ b/README.md
@@ -48,7 +48,8 @@ pip install -U cmd2
cmd2 works with Python 2.7 and Python 3.3+ on Windows, macOS, and Linux. It is pure Python code with
the only 3rd-party dependencies being on [six](https://pypi.python.org/pypi/six),
-[pyparsing](http://pyparsing.wikispaces.com), and [pyperclip](https://github.com/asweigart/pyperclip).
+[pyparsing](http://pyparsing.wikispaces.com), and [pyperclip](https://github.com/asweigart/pyperclip)
+(on Windows, [pyreadline](https://pypi.python.org/pypi/pyreadline) is an additional dependency).
For information on other installation options, see
[Installation Instructions](https://cmd2.readthedocs.io/en/latest/install.html) in the cmd2
diff --git a/cmd2.py b/cmd2.py
index 64ad1fe9..c7c54e26 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -105,7 +105,7 @@ if six.PY3:
else:
BROKEN_PIPE_ERROR = IOError
-__version__ = '0.7.8'
+__version__ = '0.7.9a'
# Pyparsing enablePackrat() can greatly speed up parsing, but problems have been seen in Python 3 in the past
pyparsing.ParserElement.enablePackrat()
diff --git a/setup.py b/setup.py
index 6607b799..c103d663 100755
--- a/setup.py
+++ b/setup.py
@@ -3,9 +3,10 @@
"""
Setuptools setup file, used to install or test 'cmd2'
"""
+import sys
from setuptools import setup
-VERSION = '0.7.8'
+VERSION = '0.7.9a'
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
@@ -61,6 +62,9 @@ Topic :: Software Development :: Libraries :: Python Modules
""".splitlines())))
INSTALL_REQUIRES = ['pyparsing >= 2.0.1', 'pyperclip', 'six']
+if sys.platform.startswith('win'):
+ INSTALL_REQUIRES += 'pyreadline'
+
# unittest.mock was added in Python 3.3. mock is a backport of unittest.mock to all versions of Python
TESTS_REQUIRE = ['mock', 'pytest']
DOCS_REQUIRE = ['sphinx', 'sphinx_rtd_theme', 'pyparsing', 'pyperclip', 'six']
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py
index 0e9ad589..c877e60f 100644
--- a/tests/test_cmd2.py
+++ b/tests/test_cmd2.py
@@ -24,7 +24,7 @@ from conftest import run_cmd, normalize, BASE_HELP, HELP_HISTORY, SHORTCUTS_TXT,
def test_ver():
- assert cmd2.__version__ == '0.7.8'
+ assert cmd2.__version__ == '0.7.9a'
def test_empty_statement(base_app):