Comment 11 for bug 482993

Revision history for this message
su_v (suv-lp) wrote :

@Michael - have you tried to use one of these environment variables in 'Contents/Resources/bin/script'

   export VERSIONER_PYTHON_VERSION=2.5
or
   export VERSIONER_PYTHON_PREFER_32_BIT=yes

as described in <http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/python.1.html> and to remove the MacPython path '/Library/Frameworks/Python.framework/Versions/Current/bin' from $PATH, so that Inkscape internally calls (as primary and fallback) version
a) the system python 2.5 (32bit anyway) or
b) the system python 2.6 (in 32-bit mode)
using the corresponding bundled site-packages for i386, and
c) support the MacPorts versions by changing $PYTHONPATH similar to the discussed and proposed change to the search path for site-packages (see <http://thread.gmane.org/gmane.comp.graphics.inkscape.devel/31854/focus=32075>) to prepend the ones installed in MacPorts to be used first and only keep the bundled ones as fallback.