diff options
author | rsiddharth <rsd@gnu.org> | 2018-08-23 02:56:47 +0000 |
---|---|---|
committer | rsiddharth <rsd@gnu.org> | 2018-08-23 02:56:47 +0000 |
commit | 3e944ab60684857a1995bba031935f1ddcca7a3f (patch) | |
tree | 20666baf4654ca58506723c64d4190b10801fa4e | |
parent | 3380093ed135ff42e26956c3e7900a6da2787928 (diff) |
Makefile: Add venv3.
-rw-r--r-- | Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -18,7 +18,7 @@ # along with lpschedule-generator (see COPYING). If not, see # <http://www.gnu.org/licenses/>. 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/ |