mirror of
https://github.com/drmext/MonkeyBusiness.git
synced 2024-11-12 01:30:51 +01:00
22 lines
311 B
Bash
22 lines
311 B
Bash
#!/bin/bash
|
|
|
|
ver="3.11"
|
|
py="python$ver"
|
|
|
|
if ! command -v $py &> /dev/null
|
|
then
|
|
echo "$py not found"
|
|
exit
|
|
fi
|
|
|
|
if [ -d .venv/ ]
|
|
then
|
|
source .venv/bin/activate
|
|
$py pyeamu.py
|
|
else
|
|
$py -m venv .venv
|
|
source .venv/bin/activate
|
|
$py -m pip install -U -r requirements.txt
|
|
$py pyeamu.py
|
|
fi
|