python2.5 pretends to be a framework installation

Rainer Müller raimue at macports.org
Wed May 20 13:53:02 PDT 2009


On 2009-05-20 22:07, Darren Weber wrote:
> Perhaps the python2.5 port could not "pretend" to be a framework
> installation (i.e., place no symlinks into the python framework, or
> actually install as a framework, as in python2.6), or the port
> activation process could be a little more flexible to allow the
> activation against a symlink location.

The symlinks have been introduced as python25 switched from a "normal"
build to the framework to ease the transition. It is just not possible
to change this now without causing major problems for all users. It
would require everyone to uninstall all dependents of python25, upgrade
and then reinstall.

> The fix for this InsightToolkit port will be to change the build
> configuration to point directly to the python2.5 installs under
> ${prefix}/lib, ${prefix}/include, etc.

The workaround is to move the files in a post-destroot phase to the
right location in ${prefix}/lib/python2.5.

Rainer


More information about the macports-dev mailing list