Files
Exam/build_linux.sh

11 lines
259 B
Bash
Executable File

#!/usr/bin/env bash
set -e
python3 -m venv venv
source venv/bin/activate
pip install pygame pyinstaller
rm -rf build dist *.spec
pyinstaller --onefile --windowed --name SolarSystem main.py
cp dist/SolarSystem .
chmod +x SolarSystem
echo "Done: ./SolarSystem"