Updates for building and bundling with Python3

Note that building currently requires bouncing back and forth between python2 and python3.
This commit is contained in:
John Ralls
2015-03-23 10:59:57 +09:00
committed by Ross Gammon
parent 092a9025dc
commit 3f23c2c5cd
4 changed files with 32 additions and 23 deletions

View File

@@ -23,7 +23,7 @@ export GTK_PATH="$bundle_res"
export PANGO_RC_FILE="$bundle_etc/pango/pangorc"
export PANGO_SYSCONFDIR="$bundle_etc"
export PANGO_LIBDIR="$bundle_lib"
export GDK_PIXBUF_MODULE_FILE="$bundle_etc/gtk-3.0/gdk-pixbuf.loaders"
export GDK_PIXBUF_MODULE_FILE="$bundle_lib/gdk-pixbuf-2.0/2.10.0/loaders.cache"
if [ `uname -r | cut -d . -f 1` -ge 10 ]; then
export GTK_IM_MODULE_FILE="$bundle_etc/gtk-3.0/gtk.immodules"
fi
@@ -32,7 +32,7 @@ export GVBINDIR="$bundle_lib/graphviz"
#Set $PYTHON to point inside the bundle
PYVER=2.7
PYVER=3.4
export PYTHON="$bundle_contents/MacOS/python"
export PYTHONHOME="$bundle_res"