Issue 5271: OS X installer: build can fail on import checks (original) (raw)

ANALYSIS The OS X installer build include several third-party libraries which will be installed as shared libs in the framework. During the build, setup.py tries to import built extensions to catch import problems. Currently, the import check attempts to load the shared libs from their installed location. If the version being built is not installed on the build machine, the build fails; if present, the imports are checked against the old libraries. Problems seen with _curses_panel on all builds and, for 4-way universal, _curses and readlines.

SOLUTION add the newly built extra libs into the DYLD_LIBRARY_PATH of the interpreter during the build phase

APPLIES 2.6, 2.7, 3.0, 3.1