mirror of
https://github.com/drmext/MonkeyBusiness.git
synced 2024-11-27 17:00:59 +01:00
19 lines
341 B
Bash
19 lines
341 B
Bash
#!/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
|