#!/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"
