diff options
| author | Michael Wybrow <michael.wybrow@monash.edu> | 2010-11-08 22:35:03 +0000 |
|---|---|---|
| committer | Michael Wybrow <Michael.Wybrow@infotech.monash.edu.au> | 2010-11-08 22:35:03 +0000 |
| commit | be6210ba20137f6783fcd367513c040d04a83539 (patch) | |
| tree | d1559e7373bd2c2887aa974b865a101419cd4e8e /packaging | |
| parent | Update ignore list to include the recently added i18n file, backup.bzr (diff) | |
| parent | Fix bug #482993: Python extensions not working on Mac OS X 10.6 (diff) | |
| download | inkscape-be6210ba20137f6783fcd367513c040d04a83539.tar.gz inkscape-be6210ba20137f6783fcd367513c040d04a83539.zip | |
Fix bug #482993: Python extensions not working on Mac OS X 10.6
Fixed bugs:
- https://launchpad.net/bugs/482993
(bzr r9883)
Diffstat (limited to 'packaging')
| -rwxr-xr-x | packaging/macosx/Resources/bin/inkscape | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packaging/macosx/Resources/bin/inkscape b/packaging/macosx/Resources/bin/inkscape index 2621b7db9..07aa65cd2 100755 --- a/packaging/macosx/Resources/bin/inkscape +++ b/packaging/macosx/Resources/bin/inkscape @@ -23,6 +23,15 @@ TOP="`dirname \"$CWD\"`" # LaTeX distribution for Mac OS X export PATH="/usr/texbin:/opt/local/bin:/sw/bin/:/Library/Frameworks/Python.framework/Versions/Current/bin:/usr/local/bin:$CWD:$PATH" +# Put /usr/bin at beginning of path so we make sure we use Apple's python +# over one that may be installed be Macports, Fink or some other means. +export PATH="/usr/bin:$PATH" + +# On Snow Leopard, use the 32-bit version of python from Universal build. +# This is because our bundled i386 python libraries are 32-bit only. +export VERSIONER_PYTHON_PREFER_32_BIT=yes + + # Setup PYTHONPATH to use python modules shipped with Inkscape ARCH=`arch` PYTHON_VERS=`python -V 2>&1 | cut -c 8-10` |
