[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

Ray.Allen report at bugs.python.org
Fri Apr 9 10:59:15 CEST 2010

Ray.Allen <ysj.ray at gmail.com> added the comment:

Yes, I agree with you, this may be a bug? 

Seemingly, the sysconfig.get_python_lib() should act just like the get_python_inc() function, return "[prefix]/lib/python[version]" in case of "python_build" flag is False, and "[prefix]/Lib" in case of "python_build" flag is True.

nosy: +ysj.ray
versions: +Python 3.2 -Python 2.6, Python 2.7

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list