From 2c71f2d52024b481ede5b3032fdffa055de7d8b5 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sat, 20 May 2017 07:39:09 -0700 Subject: [PATCH] Add setup.cfg to declare wheel as universal As the project is pure Python, a built wheel should always be universal, so define in the project globally. Can remove --universal command from Makefile. See: http://pythonwheels.com/ --- Makefile | 3 +-- setup.cfg | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 setup.cfg diff --git a/Makefile b/Makefile index b45647b8..adf0b8f1 100644 --- a/Makefile +++ b/Makefile @@ -50,8 +50,7 @@ idna: publish: pip install 'twine>=1.5.0' - python setup.py sdist - python setup.py bdist_wheel --universal + python setup.py sdist bdist_wheel twine upload dist/* rm -fr build dist .egg requests.egg-info 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