From 8c17f7d5974206f547ae05493948c2998d631d94 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 10 Dec 2015 21:27:29 +0000 Subject: [PATCH] Added distribution script --- scripts/distribute | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 scripts/distribute diff --git a/scripts/distribute b/scripts/distribute new file mode 100755 index 0000000..639e4dd --- /dev/null +++ b/scripts/distribute @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +set -eu + +[ -z "$CIRCLE_USERNAME" ] && { echo "Must be run on CircleCI."; exit 1;} + +echo ">> Building Packages..." +python setup.py build sdist bdist bdist_dumb + +echo ">> Uploading Packages to PyPi..." +twine upload dist/* -u TheOrangeOne -p $PYPI_PASSWORD