According to PEP 370, Python on Mac OS X will look for ~/.local/lib/python2.7/site-packages/
Unfortunately my Python (installed from python.org) only looks in ~/Library/... What’s up with Python? Is the PEP out-of-date, or are there different Python versions for OS X that look in the other directory?
Currently for Python OS X framework builds for Python 2.7 and 3.2, the user site-packages directory is searched for in
~/Library/Pythonrather than~/.local. There have been disagreements among the Python core developers on this variance from PEP 370. See http://bugs.python.org/issue8084 for some of the discussion about this still open issue.