INSTALLATION GUIDE:
Download SGB folder. Copy commands below into Terminal.
- xcode-select --install
- /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- brew install sdl2 sdl2_gfx sdl2_image sdl2_mixer sdl2_net sdl2_ttf
- brew install Caskroom/cask/xquartz
- brew install python@3.8
- Go to SGB folder
- python3.8 -m venv .venv; source .venv/bin/activate
- pip install -r requirements.txt
RUN CODE:
- Go to SGB folder
- source .venv/bin/activate ## if virtual environment not active
- python3.8 sgb.py
BUILD EXECUTABLE:
- Go to SGB folder
pyinstaller --clean -F --onefile --add-data "resources:resources" sgb.py
- Executable will be stored in
./dist