httpx/scripts/build
Tom Christie e586e5df37
Publish workflow (#913)
* Publish workflow

* Set PYTHONPATH to allow auto docs to import package

* Seperate install, build, publish steps
2020-04-30 15:22:54 +01:00

14 lines
185 B
Bash
Executable File

#!/bin/sh -e
if [ -d 'venv' ] ; then
PREFIX="venv/bin/"
else
PREFIX=""
fi
set -x
${PREFIX}python setup.py sdist bdist_wheel
${PREFIX}twine check dist/*
${PREFIX}mkdocs build