Last active
December 24, 2018 14:04
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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