]> CRI, Mines Paris - PSL - linpy.git/blobdiff - Makefile
Implement Expression.fromstring
[linpy.git] / Makefile
index 4ab5d2ac79c3e00926409a6e705d1d81aa0b1b1b..edb6c695086ef7664805fe1228315df0783fccbe 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,6 @@
 PYTHON=python3
+PIP=pip3
+VIRTUALENV=pyvenv
 RM=rm -rf
 
 .PHONY: default
@@ -15,4 +17,12 @@ test:
 
 .PHONY: clean
 clean:
-       $(RM) build dist MANIFEST pypol/__pycache__ tests/__pycache__
+       $(RM) build dist MANIFEST venv
+       $(RM) pypol.egg-info pypol/islhelper.*.so pypol/__pycache__
+       $(RM) tests/__pycache__
+
+.PHONY: venv
+venv:
+       $(RM) venv
+       $(VIRTUALENV) venv
+       . venv/bin/activate; $(PIP) install -e .