summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Soranzo <nicola.soranzo@earlham.ac.uk>2018-04-10 16:21:32 +0100
committerNicola Soranzo <nicola.soranzo@earlham.ac.uk>2018-04-10 16:25:51 +0100
commit28a49772e3feb60b8074bec2df6689911cd189ac (patch)
tree8084b6b445dc8364659821774801c45139f3cd85
parentb6935b7c39a19e27f322cea577b2a04b1dd72574 (diff)
downloadcmd2-git-28a49772e3feb60b8074bec2df6689911cd189ac.tar.gz
Add wcwidth for setuptools>=18
Missed in commit 2f4198ef94262dc0c747c34541a72128164dc340 . Fix https://github.com/python-cmd2/cmd2/issues/346 .
-rwxr-xr-xsetup.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index dcace2f9..5fbd354a 100755
--- a/setup.py
+++ b/setup.py
@@ -69,6 +69,7 @@ INSTALL_REQUIRES = ['pyparsing >= 2.0.1', 'pyperclip', 'six']
EXTRAS_REQUIRE = {
# Windows also requires pyreadline to ensure tab completion works
":sys_platform=='win32'": ['pyreadline'],
+ ":sys_platform!='win32'": ['wcwidth'],
# Python 3.4 and earlier require contextlib2 for temporarily redirecting stderr and stdout
":python_version<'3.5'": ['contextlib2'],
# Python 3.3 and earlier require enum34 backport of enum module from Python 3.4