From 232ae34e72b3ed6a4b3850829e15cd8345d868a8 Mon Sep 17 00:00:00 2001
From: VIGNET Pierre <pierre.vignet@irisa.fr>
Date: Wed, 4 Dec 2019 03:28:59 +0100
Subject: [PATCH] Update legacy install method to pip

---
 command_line/Makefile | 5 ++---
 gui/Makefile          | 5 ++---
 library/Makefile      | 5 ++---
 3 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/command_line/Makefile b/command_line/Makefile
index c01cd0e..06f9920 100644
--- a/command_line/Makefile
+++ b/command_line/Makefile
@@ -18,12 +18,11 @@ sdist:
 
 install:
 	@echo Install the package...
-	python2.7 setup.py install --record files.txt
+	pip install .
 
 uninstall: files.txt
 	@echo Uninstalling the package...
-	cat files.txt | xargs rm -rf
-	rm files.txt
+	pip uninstall cadbiom_cmd
 
 dev_install:
 	@echo Install the package for developers...
diff --git a/gui/Makefile b/gui/Makefile
index 1f1f23a..d347f62 100644
--- a/gui/Makefile
+++ b/gui/Makefile
@@ -18,12 +18,11 @@ sdist:
 
 install:
 	@echo Install the package...
-	python2.7 setup.py install --record files.txt
+	pip install .
 
 uninstall: files.txt
 	@echo Uninstalling the package...
-	cat files.txt | xargs rm -rf
-	rm files.txt
+	pip uninstall cadbiom_gui
 
 dev_install:
 	@echo Install the package for developers...
diff --git a/library/Makefile b/library/Makefile
index 1c38c7a..74ce1e3 100644
--- a/library/Makefile
+++ b/library/Makefile
@@ -22,12 +22,11 @@ sdist:
 
 install:
 	@echo Install the package...
-	python2.7 setup.py install --record files.txt
+	pip install .
 
 uninstall: files.txt
 	@echo Uninstalling the package...
-	cat files.txt | xargs rm -rf
-	rm files.txt
+	pip uninstall cadbiom
 
 dev_install:
 	@echo Install the package for developers...
-- 
GitLab