mirror of https://github.com/encode/starlette.git
parent
6ddd0523b0
commit
28907dff38
|
@ -14,10 +14,16 @@ if ! command -v "${PREFIX}twine" &>/dev/null ; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! command -v "${PREFIX}wheel" &>/dev/null ; then
|
||||||
|
echo "Unable to find the 'wheel' command."
|
||||||
|
echo "Install from PyPI, using '${PREFIX}pip install wheel'."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
find starlette -type f -name "*.py[co]" -delete
|
find starlette -type f -name "*.py[co]" -delete
|
||||||
find starlette -type d -name __pycache__ -delete
|
find starlette -type d -name __pycache__ -delete
|
||||||
|
|
||||||
${PREFIX}python setup.py sdist
|
${PREFIX}python setup.py sdist bdist_wheel
|
||||||
${PREFIX}twine upload dist/*
|
${PREFIX}twine upload dist/*
|
||||||
${PREFIX}mkdocs gh-deploy
|
${PREFIX}mkdocs gh-deploy
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue