diff options
Diffstat (limited to 'Makefile')
-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/ |