r2332 - in zope2.12/trunk/debian (python_interpreter_template.in)

mejo at users.alioth.debian.org mejo at users.alioth.debian.org
Sun Jun 26 14:44:30 UTC 2011


    Date: Sunday, June 26, 2011 @ 14:44:29
  Author: mejo
Revision: 2332

fix python wrapper to include eggs directly in path

Modified:
  zope2.12/trunk/debian/python_interpreter_template.in

Modified: zope2.12/trunk/debian/python_interpreter_template.in
===================================================================
--- zope2.12/trunk/debian/python_interpreter_template.in	2011-06-26 13:56:29 UTC (rev 2331)
+++ zope2.12/trunk/debian/python_interpreter_template.in	2011-06-26 14:44:29 UTC (rev 2332)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-ZPYPATH="/usr/lib/zope at ZVER@/lib/python"
+ZPYPATH="$(echo $(for dir in /usr/lib/zope at ZVER@/lib/python/*.egg; do echo $dir; done) | sed 's/ /:/g')"
 
 if [ -n "$PYTHONPATH" ]; then
 	export PYTHONPATH="$PYTHONPATH:$ZPYPATH"




More information about the pkg-zope-developers mailing list