Skip to content

Instantly share code, notes, and snippets.

@avsej
Created September 2, 2013 11:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avsej/6412041 to your computer and use it in GitHub Desktop.
Save avsej/6412041 to your computer and use it in GitHub Desktop.
Install python 2.7.5 with debug symbols
require_gcc
export CFLAGS='-Wall -Wextra -O0 -ggdb3'
export CPPFLAGS=$CFLAGS
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
export CONFIGURE_OPTS='--with-pydebug'
install_package "Python-2.7.5" "http://www.python.org/ftp/python/2.7.5/Python-2.7.5.tgz#b4f01a1d0ba0b46b05c73b2ac909b1df" standard verify_py27
unset CONFIGURE_OPTS
install_package "setuptools-1.1" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.1.tar.gz#84062633c3818c912af76d54a40d11a7" python
install_package "pip-1.4.1" "https://pypi.python.org/packages/source/p/pip/pip-1.4.1.tar.gz#6afbb46aeb48abac658d4df742bff714" python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment