Add venv for the project

This commit is contained in:
2022-03-20 16:08:11 +01:00
parent 23ef9dc170
commit 83414323b5
3 changed files with 23 additions and 0 deletions

7
.gitignore vendored
View File

@@ -1,7 +1,14 @@
*~
.*.swp
.*.swo
.*.kate-swp
build/*
.lock-waf_linux_build
data/*
# Environment
.env
.venv
env/
venv/
ENV/

View File

@@ -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.

0
requirements.txt Normal file
View File