From f7de7e30399409c03ba820c9c7a33c95c38e3efa Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 20 Jun 2019 16:14:57 -0700 Subject: build deployable artifacts --- python/.gitignore | 2 ++ python/build_tarball.sh | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100755 python/build_tarball.sh (limited to 'python') 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* -- cgit v1.2.3