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 <rep...@bugs.python.org>
<http://bugs.python.org/issue24923>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to