Staging
v0.5.1
swh:1:snp:635f4099902912592851108bcac178ff574f7c5f
Revision 732aa2f9874c8a37b6cac04718946d65e5b92bd2 authored by Guido van Rossum on 11 December 1998, 01:10:29 UTC, committed by Guido van Rossum on 11 December 1998, 01:10:29 UTC
But IMHO, this problem really reveals an annoyance in Python's
makesetup. makesetup puts the global include directories "$(INCLUDEPY)
$(EXECINCLUDEPY)" in front of the directories defined by the module in
Setup. Therefore global (potentially older) header files are preferred
over the ones set by the module, which makes it hard to compile new
versions of modules when the old versions are installed. AFAIK, the
other way around is common practice for most other software.

This patch to makesetup would be an potential fix for this problem,
though I don't know if it breaks anything else.
1 parent aaed971
History
Tip revision: 550e4673be538d98b6ddf5550b3922539cf5c4b2 authored by Victor Stinner on 08 December 2020, 23:32:54 UTC
bpo-32381: Add _PyRun_SimpleFileObject() (GH-23709)
Tip revision: 550e467
File Mode Size
BeOS
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.hgtags -rw-r--r-- 1.3 KB
Makefile.in -rw-r--r-- 17.4 KB
README -rw-r--r-- 36.1 KB
acconfig.h -rw-r--r-- 2.9 KB
config.h.in -rw-r--r-- 10.5 KB
configure -rwxr-xr-x 120.7 KB
configure.in -rw-r--r-- 19.0 KB
install-sh -rwxr-xr-x 2.2 KB

README

back to top