I want to install a "clean" instance of Python 2.7.2 under $HOME/local, in a workstation running Snow Leopard. By "clean" I mean that it does not use the Python interpreter (/usr/bin/python) or Python libraries (under, e.g., /Library/Python, /Library/Frameworks/Python.framework, etc.) that may come pre-installed with Snow Leopard. (Of course, I want the new install to keep clear only of this "factory-installed Python stuff"; other libraries that are unrelated to Python are OK.)
I could do something like
% configure --prefix=$HOME/local
% make
% make install
but I understand that I would not be able to run/develop native-GUI Python apps with the installed interpreter. Is there any way to get around this limitation, and still keep the installation strictly under $HOME/local?
Thanks!