From 63621bd26e6232365723c83065ba078b980fbf3c Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Wed, 29 Jun 2016 08:43:11 +0200 Subject: [PATCH] Use pip for make install, it allow us to easily uninstall do not install any dependancy, as setup.py install would do --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 627a5c0..919a6cf 100644 --- a/Makefile +++ b/Makefile @@ -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