diff --git a/scripts/publish b/scripts/publish index 5ab9ead1..cbbda332 100755 --- a/scripts/publish +++ b/scripts/publish @@ -15,6 +15,12 @@ if ! command -v "${PREFIX}twine" &>/dev/null ; then exit 1 fi +if ! ${PREFIX}pip show wheel &>/dev/null ; then + echo "Unable to find the 'wheel' command." + echo "Install from PyPI, using '${PREFIX}pip install wheel'." + exit 1 +fi + if ! command -v "${PREFIX}mkdocs" &>/dev/null ; then echo "Unable to find the 'mkdocs' command." echo "Install from PyPI, using '${PREFIX}pip install mkdocs'." diff --git a/test-requirements.txt b/test-requirements.txt index 749b3ad7..be06182e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -17,7 +17,6 @@ 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'