diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-07-16 20:35:52 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-07-16 20:35:52 -0400 |
commit | 8b26484160a7cde3ffd20661faec9f4a0da1f083 (patch) | |
tree | adb2d65e6ab5db515e27a50ecc75167f2a02862b | |
parent | a8ad949196481aac2ae648e566a7566dbac9aa59 (diff) | |
download | cmd2-git-8b26484160a7cde3ffd20661faec9f4a0da1f083.tar.gz |
Started updating CHANGELOG
Also:
- Bumped version to 0.9.4
- Updated info in Readme and Sphinx docs to reflect new dependency on attrs
-rw-r--r-- | CHANGELOG.md | 8 | ||||
-rwxr-xr-x | README.md | 3 | ||||
-rw-r--r-- | cmd2/cmd2.py | 2 | ||||
-rw-r--r-- | docs/conf.py | 2 | ||||
-rw-r--r-- | docs/install.rst | 6 | ||||
-rwxr-xr-x | setup.py | 2 | ||||
-rw-r--r-- | tests/test_cmd2.py | 2 |
7 files changed, 19 insertions, 6 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8fe148ae..00130ffc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## 0.9.4 (TBD, 2018) +* Bug Fixes + * Fixed bug where ``preparse`` wasn't getting called +* Enhancements + * Improved implementation of lifecycle hooks to to support a plugin framework +* Deprecations + * Deprecated a few of the old lifecycle hook methods + ## 0.9.3 (July 12, 2018) * Bug Fixes * Fixed bug when StatementParser ``__init__()`` was called with ``terminators`` equal to ``None`` @@ -57,7 +57,8 @@ pip install -U cmd2 ``` cmd2 works with Python 3.4+ on Windows, macOS, and Linux. It is pure Python code with -the only 3rd-party dependencies being on [colorama](https://github.com/tartley/colorama), and [pyperclip](https://github.com/asweigart/pyperclip). +the only 3rd-party dependencies being on [attrs](https://github.com/python-attrs/attrs), +[colorama](https://github.com/tartley/colorama), and [pyperclip](https://github.com/asweigart/pyperclip). Windows has an additional dependency on [pyreadline](https://pypi.python.org/pypi/pyreadline). Non-Windows platforms have an additional dependency on [wcwidth](https://pypi.python.org/pypi/wcwidth). Finally, Python 3.4 has an additional dependency on [contextlib2](https://pypi.python.org/pypi/contextlib2). diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index 45f3da60..875cef59 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -116,7 +116,7 @@ try: except ImportError: # pragma: no cover ipython_available = False -__version__ = '0.9.3' +__version__ = '0.9.4' # optional attribute, when tagged on a function, allows cmd2 to categorize commands diff --git a/docs/conf.py b/docs/conf.py index 7c3389ac..17f0d4c3 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.9' # The full version, including alpha/beta/rc tags. -release = '0.9.3' +release = '0.9.4' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/install.rst b/docs/install.rst index 6baf4078..120fd3b9 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -98,13 +98,17 @@ either composition or inheritance to achieve the same goal. This approach will obviously NOT automatically install the required 3rd-party dependencies, so you need to make sure the following Python packages are installed: - * pyparsing + * attrs + * colorama * pyperclip On Windows, there is an additional dependency: * pyreadline +On macOS or Linux, there is an additional dependency: + * wcwidth + Upgrading cmd2 -------------- @@ -5,7 +5,7 @@ Setuptools setup file, used to install or test 'cmd2' """ from setuptools import setup -VERSION = '0.9.3' +VERSION = '0.9.4' 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 diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index 25d1db3f..74e3e45a 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -29,7 +29,7 @@ from .conftest import run_cmd, normalize, BASE_HELP, BASE_HELP_VERBOSE, \ def test_ver(): - assert cmd2.__version__ == '0.9.3' + assert cmd2.__version__ == '0.9.4' def test_empty_statement(base_app): |