From 4cc79da98ab52ef0df9c331b849bbcdf0a54b6bd Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Tue, 5 Mar 2019 22:32:11 -0600 Subject: [PATCH] ci: Build a wheel for taiga-back too Now that the project has a `setup.py` script, we can build and publish a wheel for it, making deployment a lot simpler. --- ci/Dockerfile | 1 + ci/build.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/Dockerfile b/ci/Dockerfile index fd57b3d8..b939d737 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -6,6 +6,7 @@ RUN dnf install -y \ libjpeg-devel \ openssh-clients \ python3-devel \ + python3-setuptools_scm \ rsync \ zlib-devel \ -- diff --git a/ci/build.sh b/ci/build.sh index cb51e03d..efa46a79 100644 --- a/ci/build.sh +++ b/ci/build.sh @@ -3,6 +3,6 @@ python3.6 -m venv .venv rm -rf dist .venv/bin/pip install --upgrade pip setuptools wheel -.venv/bin/pip wheel -w dist -r requirements.txt +.venv/bin/pip wheel -w dist -r requirements.txt . sed -i '/^-i/d' requirements.txt