Skip to content

Instantly share code, notes, and snippets.

@markph0204
Last active December 24, 2018 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markph0204/eaaa8c9058f8f14b93230d5b167a9716 to your computer and use it in GitHub Desktop.
Save markph0204/eaaa8c9058f8f14b93230d5b167a9716 to your computer and use it in GitHub Desktop.
Python 3 + VirtualEnv + HighSierra + Pygame 1.9.x (Dev-Dec21) + Xcode 10.1 + Homebrew
# Python 3 + VirtualEnv + HighSierra + Pygame 1.9.x (Dev-Dec21) + Xcode 10.1 + Homebrew
# https://www.pygame.org/wiki/MacCompile
# 1. Install <a href="https://brew.sh">Homebrew</a> -- instructions found here.
# 2. Install XQuartz:
brew install Caskroom/cask/xquartz
# 3. Install Python 3.7.x
brew install python3
# 4. Make VirtualEnv
mkdir ~/tmp/; cd ~/tmp
python3 -m venv .venv; source .venv/bin/activate
# 5. Install Pygame (Dec 21 snapshot from development) or you may try latest. If you get latest -- run tests to verify all is working.
# Dec21st Latest (all tests verified)
pip install git+https://github.com/pygame/pygame.git@89a6506
# Latest from GIT REPO
pip install git+https://github.com/pygame/pygame.git
# 6. verifty all Pygame Tests
python -m pygame.tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment