# Environment variables:
#   TWINE_USERNAME: pypi username
#   TWINE_PASSWORD: <PASSWORD>
#   DRY_RUN: <bool>

python -m pip install --upgrade pip
pip install setuptools wheel twine
if [ -f requirements.txt ]; then
    pip install -r requirements.txt;
fi
python setup.py sdist bdist_wheel