From 35c3fa205ddd44ac8ccbd989155b6a0074323169 Mon Sep 17 00:00:00 2001 From: Toorero Date: Thu, 28 Jan 2021 21:24:09 +0100 Subject: [PATCH] Fixed description of activating venv (#22) Add 'source' to the venv activate command in the readme `source` was picked over `.` to conform to the python recommendation (https://docs.python.org/3/library/venv.html#module-venv). This patch also adds the `egg-info` you get when building to the gitignore. --- .gitignore | 1 + README.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index fbb852b..a5f87ba 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ build/ .env .vscode ilias_cookies.txt +PFERD.egg-info/ # PyInstaller sync_url.spec diff --git a/README.md b/README.md index ed92500..44138db 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ A full example setup and initial use could look like: $ mkdir Vorlesungen $ cd Vorlesungen $ python3 -m venv .venv -$ .venv/bin/activate +$ source .venv/bin/activate $ pip install git+https://github.com/Garmelon/PFERD@v2.5.3 $ curl -O https://raw.githubusercontent.com/Garmelon/PFERD/v2.5.3/example_config.py $ python3 example_config.py @@ -69,7 +69,7 @@ $ deactivate Subsequent runs of the program might look like: ``` $ cd Vorlesungen -$ .venv/bin/activate +$ source .venv/bin/activate $ python3 example_config.py $ deactivate ```