From 1a230c72052b93ddb9dd79eac5364c8e45c81afd Mon Sep 17 00:00:00 2001 From: Martin Vilcans Date: Thu, 13 Feb 2020 08:13:10 +0100 Subject: Update readme for Python 3 #54 --- .gitignore | 4 ++++ README.markdown | 9 +++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 3b4120c..056a5aa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,10 @@ *.pyc *.pyo +# Typical virtual environment directories +.venv/ +venv/ + # Generated by `pip install -e .` *.egg-info diff --git a/README.markdown b/README.markdown index 445ad1c..2368623 100644 --- a/README.markdown +++ b/README.markdown @@ -65,9 +65,10 @@ Screenplain is released under the [MIT license](http://www.opensource.org/licens Developing ========== -Set up environment using virtualenvwrapper: +Set up virtual environment: - mkvirtualenv --no-site-packages screenplain + python3 -m venv .venv + . .venv/bin/activate pip install -r requirements.txt pip install -e . @@ -76,7 +77,3 @@ After this, the `screenplain` command will use the working copy of your code. To run unit tests and style checks, run: bin/test - -For developing for Python 3, instead use: - - mkvirtualenv --no-site-packages --python=$(which python3) screenplain-py3 -- cgit