From 3e944ab60684857a1995bba031935f1ddcca7a3f Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Thu, 23 Aug 2018 02:56:47 +0000 Subject: Makefile: Add venv3. --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 66c0291..c641d42 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ # along with lpschedule-generator (see COPYING). If not, see # . VENV_DIR='.venv' - +VENV_DIR3='.venv3' test: @nosetests @@ -54,6 +54,15 @@ venv: 'to activate the virtual environment' .PHONY: venv +venv3: + rm -rf *.egg-info + $(shell [[ -d $(VENV_DIR3) ]] && mv $(VENV_DIR3) $(VENV_DIR3).`date +%s`) + virtualenv --clear --python=python3 $(VENV_DIR3) + @echo 'Initialized virtualenv, run' \ + 'source '$(VENV_DIR3)'/bin/activate' \ + 'to activate the virtual environment' +.PHONY: venv3 + clean-build: @rm -rf build/ @rm -rf dist/ -- cgit v1.2.3