Skip to content

Commit 24a21c4

Browse files
committed
Fix documentation in regards to requirements on Python 3.4
Added typing backport dependency for Python 3.4
1 parent ca26abe commit 24a21c4

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ the only 3rd-party dependencies being on [attrs](https://github.com/python-attrs
6262
[colorama](https://github.com/tartley/colorama), and [pyperclip](https://github.com/asweigart/pyperclip).
6363
Windows has an additional dependency on [pyreadline](https://pypi.python.org/pypi/pyreadline). Non-Windows platforms
6464
have an additional dependency on [wcwidth](https://pypi.python.org/pypi/wcwidth). Finally, Python
65-
3.4 has an additional dependency on [contextlib2](https://pypi.python.org/pypi/contextlib2).
65+
3.4 has additional dependencies on [contextlib2](https://pypi.python.org/pypi/contextlib2) and the
66+
[typing](https://pypi.org/project/typing/) backport.
6667

6768
For information on other installation options, see
6869
[Installation Instructions](https://cmd2.readthedocs.io/en/latest/install.html) in the cmd2

docs/install.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ If you wish to permanently uninstall ``cmd2``, this can also easily be done with
126126

127127
pip uninstall cmd2
128128

129-
Extra requirement for Python 3.4
130-
--------------------------------
129+
Extra requirements for Python 3.4
130+
---------------------------------
131131
``cmd2`` requires the ``contextlib2`` module for Python 3.4. This is used to temporarily redirect
132-
stdout and stderr.
132+
stdout and stderr. Also when using Python 3.4, ``cmd2`` requires the ``typing`` module backport.
133133

134134
Extra requirement for macOS
135135
===========================

0 commit comments

Comments
 (0)