aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Vilcans <martin@librador.com>2020-02-13 08:13:10 +0100
committerMartin Vilcans <martin@librador.com>2020-02-13 08:18:24 +0100
commit1a230c72052b93ddb9dd79eac5364c8e45c81afd (patch)
tree08528be379228fb108c2ecaef0dc5ad700be9a79
parent5325c01e61320947635d3cddb751ea48d5b36ef4 (diff)
downloadscreenplain-1a230c72052b93ddb9dd79eac5364c8e45c81afd.tar.gz
Update readme for Python 3 #54
-rw-r--r--.gitignore4
-rw-r--r--README.markdown9
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