[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build
Vinay Sajip
report at bugs.python.org
Mon Sep 13 08:13:49 CEST 2010
Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:
N.B. without the sysconfig.py patch, sysconfig.get_path() fails, but differently.
With the patch, sysconfig.get_path('stdlib') and sysconfig.get_path('include') give the expected values, but _CONFIG_VARS['srcdir'] still seems wrong:
vinay at eta-jaunty:/tmp$ python3.2
Python 3.2a2+ (py3k:84759, Sep 13 2010, 05:14:55)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sysconfig
>>> sysconfig._CONFIG_VARS['srcdir']
'/tmp'
>>>
Someone please take a look!
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6087>
_______________________________________
More information about the Python-bugs-list
mailing list