summaryrefslogtreecommitdiffstats
path: root/python/build_tarball.sh
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-06-20 16:14:57 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-06-20 16:14:57 -0700
commitf7de7e30399409c03ba820c9c7a33c95c38e3efa (patch)
tree16658d239ee8f80c65c6f1be9bf641f62af85c2c /python/build_tarball.sh
parented498a60fec55f1a2f5d10907b47971696224ec1 (diff)
downloadfatcat-f7de7e30399409c03ba820c9c7a33c95c38e3efa.tar.gz
fatcat-f7de7e30399409c03ba820c9c7a33c95c38e3efa.zip
build deployable artifacts
Diffstat (limited to 'python/build_tarball.sh')
-rwxr-xr-xpython/build_tarball.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/python/build_tarball.sh b/python/build_tarball.sh
new file mode 100755
index 00000000..5c7f1944
--- /dev/null
+++ b/python/build_tarball.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+set -e -u -o pipefail
+
+PIPENV_VENV_IN_PROJECT=true pipenv install --dev --deploy
+
+rm -f fatcat-python.tar.gz
+tar czf fatcat-python.tar.gz .venv *.py fatcat_tools fatcat_web Pipfile* *.ini README*