Use pip for make install, it allow us to easily uninstall

do not install any dependancy, as setup.py install would do
This commit is contained in:
Valentin Samir 2016-06-29 08:43:11 +02:00
parent abda112467
commit 63621bd26e

View File

@ -4,8 +4,12 @@ VERSION=`python setup.py -V`
build:
python setup.py build
install:
python setup.py install
install: dist
pip -V
pip install --no-deps --upgrade --force-reinstall --find-links ./dist/django-cas-server-${VERSION}.tar.gz django-cas-server
uninstall:
pip uninstall django-cas-server || true
clean_pyc:
find ./ -name '*.pyc' -delete