r23328 - gnucash/trunk/src/bin - Bug-710871 Fix for Python site-packages not found when not installed to default location

Mike Evans mikee at code.gnucash.org
Fri Oct 25 11:25:26 EDT 2013


Author: mikee
Date: 2013-10-25 11:25:25 -0400 (Fri, 25 Oct 2013)
New Revision: 23328
Trac: http://svn.gnucash.org/trac/changeset/23328

Modified:
   gnucash/trunk/src/bin/environment.in
Log:
Bug-710871 Fix for Python site-packages not found when not installed to default location

Modified: gnucash/trunk/src/bin/environment.in
===================================================================
--- gnucash/trunk/src/bin/environment.in	2013-10-25 07:27:57 UTC (rev 23327)
+++ gnucash/trunk/src/bin/environment.in	2013-10-25 15:25:25 UTC (rev 23328)
@@ -43,6 +43,9 @@
 # Tell GnuCash where to look for GnuCash modules
 GNC_MODULE_PATH={GNC_LIB};{GNC_MODULE_PATH}
 
+# Tell GnuCash where to look for local python site-packages.
+PYTHONPATH={SYS_LIB}/python2.7/site-packages;${PYTHONPATH}
+
 # Prevent embedded guile from issuing deprecation warnings
 GUILE_WARN_DEPRECATED=no
 



More information about the gnucash-changes mailing list