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: build:
python setup.py build python setup.py build
install: install: dist
python setup.py install 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: clean_pyc:
find ./ -name '*.pyc' -delete find ./ -name '*.pyc' -delete