diff options
author | Thomas Kluyver <thomas@kluyver.me.uk> | 2016-05-21 12:45:25 +0100 |
---|---|---|
committer | Thomas Kluyver <thomas@kluyver.me.uk> | 2016-05-21 12:45:25 +0100 |
commit | f55e93fb7866557fc0daaecf9561713c1325a6a6 (patch) | |
tree | 98f58f0a3ad08fa6589fd9ca179a415c25b75846 | |
parent | 3005dec1c29f6f4fc67e88a95f0a996253591d6d (diff) | |
download | pexpect-f55e93fb7866557fc0daaecf9561713c1325a6a6.tar.gz |
Prepare for building wheels
-rw-r--r-- | setup.cfg | 3 | ||||
-rw-r--r-- | setup.py | 4 |
2 files changed, 7 insertions, 0 deletions
@@ -1,2 +1,5 @@ [pytest] norecursedirs = .git + +[bdist_wheel] +universal=1 @@ -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: |