Add venv for the project
This commit is contained in:
7
.gitignore
vendored
7
.gitignore
vendored
@@ -1,7 +1,14 @@
|
|||||||
*~
|
*~
|
||||||
.*.swp
|
.*.swp
|
||||||
.*.swo
|
.*.swo
|
||||||
|
.*.kate-swp
|
||||||
build/*
|
build/*
|
||||||
.lock-waf_linux_build
|
.lock-waf_linux_build
|
||||||
data/*
|
data/*
|
||||||
|
|
||||||
|
# Environment
|
||||||
|
.env
|
||||||
|
.venv
|
||||||
|
env/
|
||||||
|
venv/
|
||||||
|
ENV/
|
||||||
|
|||||||
16
README.md
16
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
|
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.
|
[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
0
requirements.txt
Normal file
Reference in New Issue
Block a user