Compare commits

...

2 Commits

Author SHA1 Message Date
Dustin a215c026b2 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.
2019-03-05 22:47:00 -06:00
Dustin e8f6d8566d Add setup.py
This will allow building of a wheel for *taiga-back*
2019-03-05 22:43:53 -06:00
3 changed files with 17 additions and 1 deletions

View File

@ -3,6 +3,7 @@ FROM fedora:28
RUN useradd -M -l -u 3000018 jenkins
RUN dnf install -y \
gcc \
git \
libjpeg-devel \
openssh-clients \
python3-devel \

View File

@ -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

15
setup.py Normal file
View File

@ -0,0 +1,15 @@
from setuptools import find_packages, setup
setup(
name='taiga-back',
use_scm_version=True,
description='taiga-back',
url='https://taiga.io/',
license='GPL-3',
packages=find_packages(
exclude=['tests'],
),
setup_requires=[
'setuptools_scm',
],
)