Skip to content

Instantly share code, notes, and snippets.

@escherize
Created March 21, 2013 23:45
Show Gist options
  • Save escherize/5217856 to your computer and use it in GitHub Desktop.
Save escherize/5217856 to your computer and use it in GitHub Desktop.
getting setup for pygame on mac
https://python-guide.readthedocs.org/en/latest/starting/install/osx/
add to the end of your ~/.profile (or ~/.bash_profile):
export PATH=/usr/local/bin:$PATH
install brew:
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
install XQuartz:
http://xquartz.macosforge.org/landing/
install pip:
easy_install pip
brew install hg;
brew tap homebrew/headonly;
brew install --HEAD smpeg;
brew tap homebrew/science;
sudo pip install nose;
brew install gfortran;
brew install sdl sdl_image sdl_mixer sdl_ttf smpeg portmidi;
sudo pip install hg+https://bitbucket.org/pygame/pygame;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment