summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kluyver <thomas@kluyver.me.uk>2016-05-21 12:45:25 +0100
committerThomas Kluyver <thomas@kluyver.me.uk>2016-05-21 12:45:25 +0100
commitf55e93fb7866557fc0daaecf9561713c1325a6a6 (patch)
tree98f58f0a3ad08fa6589fd9ca179a415c25b75846
parent3005dec1c29f6f4fc67e88a95f0a996253591d6d (diff)
downloadpexpect-git-f55e93fb7866557fc0daaecf9561713c1325a6a6.tar.gz
Prepare for building wheels
-rw-r--r--setup.cfg3
-rw-r--r--setup.py4
2 files changed, 7 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index ae62686..87fce02 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,2 +1,5 @@
[pytest]
norecursedirs = .git
+
+[bdist_wheel]
+universal=1
diff --git a/setup.py b/setup.py
index e2ee117..522a520 100644
--- a/setup.py
+++ b/setup.py
@@ -2,6 +2,10 @@
from distutils.core import setup
import os
import re
+import sys
+
+if any(a == 'bdist_wheel' for a in sys.argv):
+ from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'pexpect', '__init__.py'), 'r') as f:
for line in f: