diff --git src/bin/Makefile.am src/bin/Makefile.am
index b196d75..26fee83 100644
--- src/bin/Makefile.am
+++ src/bin/Makefile.am
@@ -88,6 +88,15 @@ endif
 		echo "# and gsettings schemas are found." >> $@.tmp; \
 		echo "XDG_DATA_DIRS=$(datadir);{XDG_DATA_DIRS};$(XDG_DATA_DIRS);/usr/local/share/;/usr/share/" >> $@.tmp; \
 	fi
+	
+if WITH_PYTHON
+	if [ "a$(datadir)" != "a/usr/share" ] && [ "a$(datadir)" != "a/usr/local/share" ]; \
+	then \
+		echo  >> $@.tmp; \
+		echo "# Define PYTHONPATH for non default installation path." >> $@.tmp; \
+		echo "PYTHONPATH=${pyexecdir};{PYTHONPATH}" >> $@.tmp; \
+	fi
+endif
 	mv $@.tmp $@
 
 CLEANFILES = $(BUILT_SOURCES) ${config_DATA} ${PLATFORM_FILES}
