Compare commits

...

2 Commits

Author SHA1 Message Date
Dustin ff77e5ee1b 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:43:53 -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
2 changed files with 16 additions and 1 deletions

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',
],
)