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.
parent
7538ef01f3
commit
4cc79da98a
|
@ -6,6 +6,7 @@ RUN dnf install -y \
|
||||||
libjpeg-devel \
|
libjpeg-devel \
|
||||||
openssh-clients \
|
openssh-clients \
|
||||||
python3-devel \
|
python3-devel \
|
||||||
|
python3-setuptools_scm \
|
||||||
rsync \
|
rsync \
|
||||||
zlib-devel \
|
zlib-devel \
|
||||||
--
|
--
|
||||||
|
|
|
@ -3,6 +3,6 @@ python3.6 -m venv .venv
|
||||||
|
|
||||||
rm -rf dist
|
rm -rf dist
|
||||||
.venv/bin/pip install --upgrade pip setuptools wheel
|
.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
|
sed -i '/^-i/d' requirements.txt
|
||||||
|
|
Loading…
Reference in New Issue