aboutsummaryrefslogtreecommitdiffstats
path: root/python
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
parented498a60fec55f1a2f5d10907b47971696224ec1 (diff)
downloadfatcat-f7de7e30399409c03ba820c9c7a33c95c38e3efa.tar.gz
fatcat-f7de7e30399409c03ba820c9c7a33c95c38e3efa.zip
build deployable artifacts
Diffstat (limited to 'python')
-rw-r--r--python/.gitignore2
-rwxr-xr-xpython/build_tarball.sh8
2 files changed, 10 insertions, 0 deletions
diff --git a/python/.gitignore b/python/.gitignore
index 48b921f1..e11492e6 100644
--- a/python/.gitignore
+++ b/python/.gitignore
@@ -5,6 +5,8 @@ build/
dist/
*.egg-info
*.json.gz
+fatcat-*.tar.gz
+
!example.env
!.coveragerc
!.pylintrc
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*