[MacPorts] #34763: python27 @2.7.3_0 Includes system paths in sys.path
MacPorts
noreply at macports.org
Tue Jun 5 07:17:57 PDT 2012
#34763: python27 @2.7.3_0 Includes system paths in sys.path
------------------------------------+---------------------------------------
Reporter: jameskyle@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.99
Keywords: | Port:
------------------------------------+---------------------------------------
Comment(by eborisch@…):
FWIW, this isn't the case in my install:
{{{
MacPro:~$ /opt/local/bin/python2.7
Python 2.7.3 (default, Apr 13 2012, 10:00:30)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.9)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> for n in sys.path:print(n)
...
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/plat-darwin
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/plat-mac
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/plat-mac/lib-scriptpackages
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/lib-tk
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/lib-old
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/readline
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/lib-dynload
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/PIL
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/PyObjC
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/gtk-2.0
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/setuptools-0.6c11-py2.7.egg-info
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/wx-2.8-mac-unicode
}}}
10.6.8 / 4.0.2
--
Ticket URL: <https://trac.macports.org/ticket/34763#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list