[issue4082] python2.6 -m site doesn't run site._script() any more

Nick Coghlan report at bugs.python.org
Thu Oct 9 13:03:41 CEST 2008


Nick Coghlan <ncoghlan at gmail.com> added the comment:

Platform? It works fine for me (system python is 2.5, local python is
trunk - the tildes aren't actually in the printout, I subbed them in for
my home directory):

~/devel/python$ python -m site
sys.path = [
    '~/devel/python',
    '/usr/lib/python25.zip',
    '/usr/lib/python2.5',
    '/usr/lib/python2.5/plat-linux2',
    '/usr/lib/python2.5/lib-tk',
    '/usr/lib/python2.5/lib-dynload',
    '/usr/local/lib/python2.5/site-packages',
    '/usr/lib/python2.5/site-packages',
    '/usr/lib/python2.5/site-packages/PIL',
    '/var/lib/python-support/python2.5',
    '/var/lib/python-support/python2.5/gtk-2.0',
]
~/devel/python$ ./python -m site
sys.path = [
    '~/devel/python',
    '/usr/local/lib/python27.zip',
    '~/devel/python/Lib',
    '~/devel/python/Lib/plat-linux2',
    '~/devel/python/Lib/lib-tk',
    '~/devel/python/Lib/lib-old',
    '~/devel/python/Modules',
    '~/devel/python/build/lib.linux-i686-2.7',
]
USER_BASE: '/home/ncoghlan/.local' (exists)
USER_SITE: '/home/ncoghlan/.local/lib/python2.7/site-packages' (doesn't
exist)
ENABLE_USER_SITE: True

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4082>
_______________________________________


More information about the Python-bugs-list mailing list