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

Vinay Sajip report at bugs.python.org
Fri May 22 14:39:10 CEST 2009


New submission from Vinay Sajip <vinay_sajip at yahoo.co.uk>:

When used with a build from source (i.e. non-installed) of Python,
get_python_lib gives the result (on Linux)

[prefix]/lib/python[version]

Shouldn't this be [prefix]/Lib?

Note that get_python_inc() returns "Include". That's because it makes
use of the "python_build" flag which is set for builds from source.

----------
assignee: tarek
components: Distutils
keywords: easy
messages: 88194
nosy: tarek, vsajip
priority: normal
severity: normal
status: open
title: distutils.sysconfig.get_python_lib gives surprising result when used with a Python build
type: behavior
versions: Python 2.6, Python 2.7

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


More information about the New-bugs-announce mailing list