From: Josep Cugat Date: Thu, 3 Oct 2019 21:35:38 +0000 (+0200) Subject: Build and upload universal wheels to PyPI (#439) X-Git-Tag: 0.7.5~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e1cc26f8af9d7c042e45ce7e3aa1f6762c19078;p=thirdparty%2Fhttpx.git Build and upload universal wheels to PyPI (#439) --- diff --git a/scripts/publish b/scripts/publish index 16cbf689..5ab9ead1 100755 --- a/scripts/publish +++ b/scripts/publish @@ -24,7 +24,7 @@ fi find ${PACKAGE} -type f -name "*.py[co]" -delete find ${PACKAGE} -type d -name __pycache__ -delete -${PREFIX}python setup.py sdist +${PREFIX}python setup.py sdist bdist_wheel ${PREFIX}twine upload dist/* ${PREFIX}mkdocs gh-deploy diff --git a/setup.cfg b/setup.cfg index 6317c8a0..9b771167 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,6 @@ +[bdist_wheel] +universal = 1 + [flake8] ignore = W503, E203, B305 max-line-length = 88 diff --git a/test-requirements.txt b/test-requirements.txt index be06182e..749b3ad7 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -17,6 +17,7 @@ pytest-cov trio trustme uvicorn +wheel # https://github.com/MagicStack/uvloop/issues/266 uvloop<0.13; sys_platform != 'win32' and sys_platform != 'cygwin' and platform_python_implementation != 'pypy'