[New-bugs-announce] [issue24923] Append system paths in setup.py instead of prepending

Chris Hogan report at bugs.python.org
Mon Aug 24 16:55:21 CEST 2015


New submission from Chris Hogan:

Setup.py evaluates what's given in LDFLAGS and CPPFLAGS and CFLAGS. These variables are the usual mechanism to communicate custom paths/libs/defs to a build process. However, setup.py puts system paths in front of custom paths which makes it impossible to use these variables for providing search paths to overwrite system settings.

This patch puts system paths at the end of the list to avoid this problem.  Is there a rationale for prepending system paths?

----------
components: Build
files: append-sys-paths.patch
keywords: patch
messages: 249054
nosy: christopher.hogan
priority: normal
severity: normal
status: open
title: Append system paths in setup.py instead of prepending
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file40240/append-sys-paths.patch

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


More information about the New-bugs-announce mailing list