From 63bf05b792c1df50457b83613e86689fa3b6f529 Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Thu, 6 Sep 2018 00:39:51 -0700 Subject: [PATCH] fix venv --- python3/{{cookiecutter.project_name}}/Makefile | 2 +- python3/{{cookiecutter.project_name}}/requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/python3/{{cookiecutter.project_name}}/Makefile b/python3/{{cookiecutter.project_name}}/Makefile index defa0a3..a0b9ce9 100644 --- a/python3/{{cookiecutter.project_name}}/Makefile +++ b/python3/{{cookiecutter.project_name}}/Makefile @@ -3,7 +3,7 @@ all: default default: clean deps test lint venv: - if [ ! -e "venv/bin/activate_this.py" ] ; then virtualenv --python=python3 venv ; fi + if [ ! -e "venv/bin/activate_this.py" ] ; then virtualenv --python=python3 --prompt="({{cookiecutter.project_name}}) " venv ; fi clean: find . -name \*.pyc -delete diff --git a/python3/{{cookiecutter.project_name}}/requirements.txt b/python3/{{cookiecutter.project_name}}/requirements.txt index 4e68287..1f724e9 100644 --- a/python3/{{cookiecutter.project_name}}/requirements.txt +++ b/python3/{{cookiecutter.project_name}}/requirements.txt @@ -1,3 +1,4 @@ pytest +pytest-cov flake8 pip