X-Git-Url: https://scm.cri.ensmp.fr/git/linpy.git/blobdiff_plain/f431ff9e62582cf7a4f12d17fb198c2fdaf47044..56ab422e3bbc5a6a072f5b2a5be9d88d1017f03f:/Makefile?ds=inline diff --git a/Makefile b/Makefile index 8b3f1c4..edb6c69 100644 --- 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__ venv + $(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 .