Skip to content
Snippets Groups Projects
Verified Commit 0da37632 authored by STEVAN Antoine's avatar STEVAN Antoine :crab:
Browse files

add `make venv` to create the virtual environment

parent 3535393b
Branches
Tags
No related merge requests found
.PHONY: install uninstall
.PHONY: install uninstall venv
install:
cp src/main.py ~/.local/bin/gplt
......@@ -15,3 +15,6 @@ uninstall:
rm ~/.local/bin/multi_bar.py
rm ~/.local/bin/error.py
rm ~/.local/bin/log.py
venv:
./scripts/create-venv.sh ~/.local/share/venvs
#!/usr/bin/env bash
[[ -z $1 ]] && {
echo "please give the path to the venv directory"
exit 1
}
virtualenv "$1/gplt" --prompt gplt
source "$1/gplt/bin/activate"
pip install -r requirements.txt
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment