mirror of
https://github.com/drmext/MonkeyBusiness.git
synced 2024-11-30 18:24:33 +01:00
Add venv shell script
This commit is contained in:
parent
21872c04f9
commit
9126ffa211
18
start.sh
Normal file
18
start.sh
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if ! command -v python3.11 &> /dev/null
|
||||||
|
then
|
||||||
|
echo "python3.11 not found"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -e .venv/lib/python3.11/site-packages/ujson*.so ]
|
||||||
|
then
|
||||||
|
source .venv/bin/activate
|
||||||
|
python pyeamu.py
|
||||||
|
else
|
||||||
|
python3.11 -m venv .venv
|
||||||
|
source .venv/bin/activate
|
||||||
|
pip install -U -r requirements.txt
|
||||||
|
python pyeamu.py
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user