From 240c2b5131532ee4ba73dd6df2ce3edb14cbd484 Mon Sep 17 00:00:00 2001 From: Ed Morley Date: Mon, 7 Aug 2017 17:59:07 +0100 Subject: [PATCH] Generate a universal wheel in addition to the source distribution Fixes #44. --- setup.cfg | 2 ++ setup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 setup.cfg diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..3c6e79c --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[bdist_wheel] +universal=1 diff --git a/setup.py b/setup.py index b411216..36d169d 100755 --- a/setup.py +++ b/setup.py @@ -44,7 +44,7 @@ def get_package_data(package): if sys.argv[-1] == 'publish': - os.system("python setup.py sdist upload") + os.system("python setup.py sdist bdist_wheel upload") print("You probably want to also tag the version now:") print(" git tag -a %s -m 'version %s'" % (version, version)) print(" git push --tags")