From 60308952fd2c27f28a0cc9d2283218aea247cdac Mon Sep 17 00:00:00 2001 From: Jamie Lennox Date: Sun, 2 Jul 2017 11:01:46 +1000 Subject: [PATCH] Specify python3 when creating a virtualenv in README This app is now python3 only so we must specify python3 when creating a virtualenv. Yes this assumes that most people are using python2 as default, most distros still ship this way. --- README.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 9954972a..80b94dcf 100644 --- a/README.rst +++ b/README.rst @@ -45,10 +45,13 @@ VirtualEnv Not all things are lovely, so we use constraints to force the versions we we wish for without having to do anything ugly. This may require a newer -version of pip than is packaged with distros virtualenv +version of pip than is packaged with distros virtualenv. -- ``virtualenv2 ve2`` -- ``source ./ve2/bin/activate`` +Note that this application is python 3 only so you must create your virtualenv +with a python3 interpretter. + +- ``virtualenv -p `which python3` venv`` +- ``source ./venv/bin/activate`` - ``pip install -c constraints.txt -r requirements.txt`` Pre-post-start configuration