summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--CONTRIBUTING.md1
-rwxr-xr-xREADME.md7
-rw-r--r--docs/install.rst4
-rwxr-xr-xsetup.py2
5 files changed, 7 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index 8acd2d4b..9954fca6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -28,3 +28,6 @@ dmypy.sock
# cmd2 history file used in main.py
cmd2_history.txt
+
+# Virtual environment
+venv
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 3efce4d3..d2f71e6b 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -50,6 +50,7 @@ The tables below list all prerequisites along with the minimum required version
| [attrs](https://github.com/python-attrs/attrs) | `16.3` |
| [colorama](https://github.com/tartley/colorama) | `0.3.7` |
| [pyperclip](https://github.com/asweigart/pyperclip) | `1.5.27` |
+| [wcwidth](https://pypi.python.org/pypi/wcwidth) | `0.1.7` |
#### Additional prerequisites to run cmd2 unit tests
diff --git a/README.md b/README.md
index b3ca5fc8..e54a3be8 100755
--- a/README.md
+++ b/README.md
@@ -58,12 +58,7 @@ On all operating systems, the latest stable version of `cmd2` can be installed u
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 [attrs](https://github.com/python-attrs/attrs),
-[colorama](https://github.com/tartley/colorama), [pyperclip](https://github.com/asweigart/pyperclip), and
-[wcwidth](https://pypi.python.org/pypi/wcwidth). Windows has an additional dependency on
-[pyreadline](https://pypi.python.org/pypi/pyreadline). Finally, Python 3.4 has additional dependencies
-on [contextlib2](https://pypi.python.org/pypi/contextlib2) and the [typing](https://pypi.org/project/typing/) backport.
+cmd2 works with Python 3.4+ on Windows, macOS, and Linux. It is pure Python code with few 3rd-party dependencies.
For information on other installation options, see
[Installation Instructions](https://cmd2.readthedocs.io/en/latest/install.html) in the cmd2
diff --git a/docs/install.rst b/docs/install.rst
index 3578ce25..b0710916 100644
--- a/docs/install.rst
+++ b/docs/install.rst
@@ -101,14 +101,12 @@ the following Python packages are installed:
* attrs
* colorama
* pyperclip
+ * wcwidth
On Windows, there is an additional dependency:
* pyreadline
-On macOS or Linux, there is an additional dependency:
- * wcwidth
-
Upgrading cmd2
--------------
diff --git a/setup.py b/setup.py
index 764ac8d3..607bc346 100755
--- a/setup.py
+++ b/setup.py
@@ -66,7 +66,7 @@ Topic :: Software Development :: Libraries :: Python Modules
SETUP_REQUIRES = ['setuptools_scm']
-INSTALL_REQUIRES = ['pyperclip >= 1.5.27', 'colorama', 'attrs >= 16.3.0', 'wcwidth']
+INSTALL_REQUIRES = ['pyperclip >= 1.5.27', 'colorama', 'attrs >= 16.3.0', 'wcwidth >= 0.1.7']
EXTRAS_REQUIRE = {
# Windows also requires pyreadline to ensure tab completion works