From 83414323b58d131c33907ec61734ca5c8deac637 Mon Sep 17 00:00:00 2001 From: Jali Date: Sun, 20 Mar 2022 16:08:11 +0100 Subject: [PATCH] Add venv for the project --- .gitignore | 7 +++++++ README.md | 16 ++++++++++++++++ requirements.txt | 0 3 files changed, 23 insertions(+) create mode 100644 requirements.txt diff --git a/.gitignore b/.gitignore index 7840042..bf5a906 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,14 @@ *~ .*.swp .*.swo +.*.kate-swp build/* .lock-waf_linux_build data/* +# Environment +.env +.venv +env/ +venv/ +ENV/ diff --git a/README.md b/README.md index c0e2f30..63e183c 100644 --- a/README.md +++ b/README.md @@ -33,3 +33,19 @@ available from pip. Most of these libraries are fairly standard, such as id3-tag parsing. They must be present on the target system to be used. This can be done by creating a [venv](https://docs.python.org/3/library/venv.html) for python3. +To create your virtual environment, do + +```bash +python3 -m venv .venv +``` + +from within the root of this repository. + +Then activate the environment, and install the requirements. + +```bash +source .venv/bin/activate +pip install -r requirements.txt +``` + +And you're good to go. diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..e69de29