Build and upload universal wheels to PyPI (#439)

This commit is contained in:
Josep Cugat 2019-10-03 23:35:38 +02:00 committed by Seth Michael Larson
parent 86a0eb0268
commit 9e1cc26f8a
3 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -1,3 +1,6 @@
[bdist_wheel]
universal = 1
[flake8]
ignore = W503, E203, B305
max-line-length = 88

View 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'