]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Build and upload universal wheels to PyPI (#439)
authorJosep Cugat <jcugat@gmail.com>
Thu, 3 Oct 2019 21:35:38 +0000 (23:35 +0200)
committerSeth Michael Larson <sethmichaellarson@gmail.com>
Thu, 3 Oct 2019 21:35:38 +0000 (16:35 -0500)
scripts/publish
setup.cfg
test-requirements.txt

index 16cbf689b43aa3aedf6025ce6390a644c932378e..5ab9ead151e2879ef6b0c81a8efc9137f6d70b55 100755 (executable)
@@ -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
 
index 6317c8a06ce791ec4068d3f7e95242e2c857baf0..9b77116701c6de6d3fdc27d18ecd8638dda0363e 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,3 +1,6 @@
+[bdist_wheel]
+universal = 1
+
 [flake8]
 ignore = W503, E203, B305
 max-line-length = 88
index be06182e926a9411346bc976e0ffa3a2d0fdb3c7..749b3ad7da39e567cf0bd81f58d57b8fd2284708 100644 (file)
@@ -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'