#!/usr/bin/env bash # vim: filetype=sh: DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $DIR cd .. if [ -z "$VIRTUAL_ENV" ]; then . activate fi pip install wheel twine python setup.py bdist_wheel -d dist twine upload -r pypi-internal dist/*