You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
452 B
Bash
22 lines
452 B
Bash
#!/usr/bin/env bash
|
|
# this script sets up a python virtual environment
|
|
|
|
if ! command -v apt &> /dev/null
|
|
then
|
|
echo "This script was written for Debian based Linux Systems. It seems like \
|
|
you are using something else. Please change these scripts to work with your OS."
|
|
exit 1
|
|
fi
|
|
|
|
|
|
sudo apt install -y python3 python3-venv python3-pip
|
|
|
|
if [ ! -d venv ]; then
|
|
python3 -m venv venv
|
|
fi
|
|
|
|
source venv/bin/activate
|
|
|
|
pip install --upgrade riscemu
|
|
|