[gimp/gimp-2-8] Set PYTHONHOME in the OSX launcher script
- From: Daniel Sabo <daniels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] Set PYTHONHOME in the OSX launcher script
- Date: Thu, 21 Mar 2013 10:46:09 +0000 (UTC)
commit 8e9c103f8ad9591fe6ca59c55659807ee35a8f9a
Author: Daniel Sabo <DanielSabo gmail com>
Date: Thu Mar 21 03:40:01 2013 -0700
Set PYTHONHOME in the OSX launcher script
build/osx/gimp-2.8.bundle | 2 +-
build/osx/launcher-2.8.sh | 7 ++-----
2 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/build/osx/gimp-2.8.bundle b/build/osx/gimp-2.8.bundle
index e351200..a92dac9 100644
--- a/build/osx/gimp-2.8.bundle
+++ b/build/osx/gimp-2.8.bundle
@@ -36,7 +36,7 @@
-->
<!-- <launcher-script>${project}/launcher.sh</launcher-script > -->
<launcher-script>
- ${project}/launcher-python.sh
+ ${project}/launcher-2.8.sh
</launcher-script>
<!-- Not implemented: Optional runtime, could be python or mono
diff --git a/build/osx/launcher-2.8.sh b/build/osx/launcher-2.8.sh
index 62285a4..f1f0c15 100755
--- a/build/osx/launcher-2.8.sh
+++ b/build/osx/launcher-2.8.sh
@@ -28,17 +28,14 @@ bundle_bin="$bundle_res"/bin
bundle_data="$bundle_res"/share
bundle_etc="$bundle_res"/etc
-export PATH="$bundle_bin:$PATH"
+export PATH="$bundle_bin:$bundle_contents/MacOS:$PATH"
echo $PATH
# Set $PYTHON to point inside the bundle
export PYTHON="$bundle_contents/MacOS/python"
+export PYTHONHOME="$bundle_res"
# Add the bundle's python modules
-PYTHONPATH="$bundle_lib/python2.7:$PYTHONPATH"
-PYTHONPATH="$bundle_lib/python2.7/site-packages:$PYTHONPATH"
PYTHONPATH="$bundle_lib/gimp/2.0/python:$PYTHONPATH"
-# Add our program's modules to $PYTHONPATH.
-PYTHONPATH="$bundle_lib/pygtk/2.0:$PYTHONPATH"
export PYTHONPATH
# Use fallback instead of normal dlyd path, may not be required
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]