Staging
v0.8.1
v0.8.1
https://github.com/python/cpython
Revision c01f360a4a166afdc4f4ab67167ba41d68aed170 authored by Michael W. Hudson on 07 October 2002, 10:38:33 UTC, committed by Michael W. Hudson on 07 October 2002, 10:38:33 UTC
revision 1.88 of setup.py revision 1.46 of Lib/distutils/sysconfig.py When using a Python that has not been installed to build 3rd-party modules, distutils does not understand that the build version of the source tree is needed. This patch fixes distutils.sysconfig to understand that the running Python is part of the build tree and needs to use the appropriate "shape" of the tree. This does not assume anything about the current directory, so can be used to build 3rd-party modules using Python's build tree as well. This is useful since it allows us to use a non-installed debug-mode Python with 3rd-party modules for testing. It as the side-effect that set_python_build() is no longer needed (the hack which was added to allow distutils to be used to build the "standard" extension modules). This closes SF patch #547734.
1 parent 5e40e74
Tip revision: c01f360a4a166afdc4f4ab67167ba41d68aed170 authored by Michael W. Hudson on 07 October 2002, 10:38:33 UTC
Backport fdrake's
Backport fdrake's
Tip revision: c01f360
File | Mode | Size |
---|---|---|
Demo | ||
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
PC | ||
PCbuild | ||
Parser | ||
Python | ||
RISCOS | ||
Tools | ||
.cvsignore | -rw-r--r-- | 109 bytes |
.hgtags | -rw-r--r-- | 2.3 KB |
LICENSE | -rw-r--r-- | 12.3 KB |
Makefile.pre.in | -rw-r--r-- | 25.9 KB |
PLAN.txt | -rw-r--r-- | 14.1 KB |
README | -rw-r--r-- | 41.7 KB |
acconfig.h | -rw-r--r-- | 7.5 KB |
configure | -rwxr-xr-x | 210.1 KB |
configure.in | -rw-r--r-- | 55.0 KB |
install-sh | -rwxr-xr-x | 5.5 KB |
pyconfig.h.in | -rw-r--r-- | 19.6 KB |
setup.py | -rw-r--r-- | 34.4 KB |
Computing file changes ...