summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-04-10 08:58:00 -0700
committerGitHub <noreply@github.com>2018-04-10 08:58:00 -0700
commitd7e42a05f86d16567532e60927b0da8983a7e49d (patch)
treec4bb3d63560a626a72b3449846a55cb8f1d53ffc
parentb6935b7c39a19e27f322cea577b2a04b1dd72574 (diff)
parent382a5262fabc85708a9ba97dc8021caa738550b5 (diff)
downloadcmd2-git-d7e42a05f86d16567532e60927b0da8983a7e49d.tar.gz
Merge pull request #347 from nsoranzo/setup_fixes
Add wcwidth for setuptools>=18 and build universal wheels
-rw-r--r--setup.cfg2
-rwxr-xr-xsetup.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 00000000..2a9acf13
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,2 @@
+[bdist_wheel]
+universal = 1
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