This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: implement ability to disable automatic search path additions
Type: behavior Stage: resolved
Components: Build Versions: Python 3.2
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: Arfrever, Neurogeek, eric.araujo, grobian, ned.deily, ronaldoussoren, willingc
Priority: normal Keywords:

Created on 2010-01-16 15:01 by grobian, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg97880 - (view) Author: Fabian Groffen (grobian) Date: 2010-01-16 15:01
setup.py adds in various places hardcoded paths to locations in the filesystem that may contain libraries/includes to compile a given module or feature.

While this behaviour is probably interesting for some users, it is undesirable for distributions that use a package manager to track and install dependencies in a given offset on top of a host system such as Mac OS X, Solaris, AIX, HPUX, etc.

Examples are:
http://trac.macports.org/browser/trunk/dports/lang/python26/files/patch-setup.py.diff
http://www.mail-archive.com/openpkg-dev@openpkg.org/msg09547.html
http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/dev-lang/python/files/python-2.5.1-no-usrlocal.patch

It would be great if there was a way to disable setup.py from looking for hardcoded paths, and instead completely rely on the behaviour of compiler and linker (or e.g. CFLAGS as given)
msg97960 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2010-01-17 18:14
See also Issue7724 which addresses the particular case of building with OS X SDKs.
msg325252 - (view) Author: Carol Willing (willingc) * (Python committer) Date: 2018-09-13 15:00
Closing as the release has reached EOL.
History
Date User Action Args
2022-04-11 14:56:56adminsetgithub: 51962
2018-09-13 15:00:16willingcsetstatus: open -> closed

nosy: + willingc
messages: + msg325252

resolution: out of date
stage: needs patch -> resolved
2010-11-18 01:55:30eric.araujosetnosy: + eric.araujo
stage: test needed -> needs patch

versions: - Python 2.6, Python 3.1, Python 2.7
2010-03-18 18:32:47Neurogeeksetnosy: + Neurogeek
2010-01-24 19:03:16Arfreversetnosy: + Arfrever
2010-01-17 18:14:24ned.deilysetnosy: + ronaldoussoren, ned.deily
messages: + msg97960
2010-01-16 21:20:01brian.curtinsetpriority: normal
stage: test needed
versions: - Python 2.5
2010-01-16 15:01:28grobiancreate