]> granicus.if.org Git - python/commit
Fix for a bug exposed by r45232:
authorArmin Rigo <arigo@tunes.org>
Mon, 17 Apr 2006 09:22:35 +0000 (09:22 +0000)
committerArmin Rigo <arigo@tunes.org>
Mon, 17 Apr 2006 09:22:35 +0000 (09:22 +0000)
commitdfde91a79e235e2e1ca121d6164dd1818cbba395
tree520ac68b02ddc84fbb8ff08bb5e4b657dc57b5cb
parent0e2cbabb8d1b44cc4c9dfd31b0dd5fa9a950dba7
Fix for a bug exposed by r45232:

    /path/to/uninstalled/python setup.py build_ext

now failed with pyconfig.h not found.  Prior to r45232
the above command did not look for pyconfig.h, but the
bug is really in the look-up code: expecting to find it
in os.curdir is a rather fragile idea.
Lib/distutils/sysconfig.py