From 96383451a0df6fa1561021c8f9272c2763a6564f Mon Sep 17 00:00:00 2001 From: Venelin Stoykov Date: Wed, 22 Feb 2017 13:48:15 +0200 Subject: [PATCH] Universal wheels! --- MANIFEST.in | 1 + setup.cfg | 2 ++ setup.py | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 setup.cfg diff --git a/MANIFEST.in b/MANIFEST.in index a0efbf6..b125b90 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,6 +2,7 @@ include AUTHORS include LICENSE include README.rst include testrunner.py +include setup.cfg include tests/*.py include tests/assets/Lenna.png include tests/assets/lenna-*.jpg diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..7c2b287 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[bdist_wheel] +universal = 1 \ No newline at end of file diff --git a/setup.py b/setup.py index e2f34d0..8244049 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ except ImportError: if 'publish' in sys.argv: - os.system('python setup.py sdist upload') + os.system('python setup.py sdist bdist_wheel upload') sys.exit()