Skip to content

Instantly share code, notes, and snippets.

@RodolfoFerro
Created September 27, 2016 08:59
Show Gist options
  • Save RodolfoFerro/46975c37573c9d064927145a319f46fc to your computer and use it in GitHub Desktop.
Save RodolfoFerro/46975c37573c9d064927145a319f46fc to your computer and use it in GitHub Desktop.
PyGame for Python 3 Mac
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
alias brew=/usr/local/bin/brew
brew install python3
alias python=python3
brew install mercurial
brew install git
brew install sdl sdl_image sdl_mixer sdl_ttf
brew tap homebrew/headonly
brew install --HEAD smpeg
brew install portmidi
/usr/local/Cellar/python3/3.4.2_1/bin/easy_install-3.4 pip
/usr/local/Cellar/python3/3.4.2_1/bin/pip3.4 install hg+http://bitbucket.org/pygame/pygame
echo alias python=/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/bin/python3.4 >> ~/.bash_profile
read -p "Press [Enter] to dismiss..."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment