run file for python virtual env

This commit is contained in:
localhost_frssoft 2023-11-08 01:52:56 +03:00
parent 8bc6e8e01d
commit 3b4ad62c34
2 changed files with 15 additions and 0 deletions

12
run Executable file
View file

@ -0,0 +1,12 @@
#!/bin/bash
if [ ! -d env_fw ]; then
python3 -m venv env_fw
. env_fw/bin/activate
pip3 install -r requirements.txt || pip install -r requirements.txt || exit 1
./funkwlmpv
else
. env_fw/bin/activate
./funkwlmpv
fi