Commits

Aleš Erjavec committed 1479961

Unset PYTHONPATH env variable in the OSX application startup script.

Comments (0)

Files changed (2)

install-scripts/mac/build-osx-app-template.sh

 
 		DYLD_FRAMEWORK_PATH="$FRAMEWORKS_DIR"${DYLD_FRAMEWORK_PATH:+:$DYLD_FRAMEWORK_PATH}
 
+		unset -v PYTHONPATH
+
 		export PYTHONEXECUTABLE
 		export PYTHONHOME
 		export PYTHONNOUSERSITE=1

install-scripts/mac/build-osx-app.sh

 cat <<-'EOF' > "$TEMPLATE"/Contents/MacOS/Orange
 	#!/bin/bash
 
+	unset -v PYTHONPATH
+
 	DIRNAME=$(dirname "$0")
 	source "$DIRNAME"/ENV