r2184 - in zope2.12/trunk/debian (2 files)

kilobug-guest at users.alioth.debian.org kilobug-guest at users.alioth.debian.org
Thu Apr 28 10:15:29 UTC 2011


    Date: Thursday, April 28, 2011 @ 10:15:16
  Author: kilobug-guest
Revision: 2184

Allowing to add eggs in lib/python of instances

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

Modified: zope2.12/trunk/debian/changelog
===================================================================
--- zope2.12/trunk/debian/changelog	2011-04-28 01:00:03 UTC (rev 2183)
+++ zope2.12/trunk/debian/changelog	2011-04-28 10:15:16 UTC (rev 2184)
@@ -1,3 +1,9 @@
+zope2.12 (2.12.17-2) unstable; urgency=low
+
+  * Allowing to install eggs in lib/python of instances.
+
+ -- Gael Le Mignot <gael at pilotsystems.net>  Tue, 26 Apr 2011 13:31:49 +0200
+
 zope2.12 (2.12.17-1) unstable; urgency=low
 
   * New upstream release.

Modified: zope2.12/trunk/debian/python_interpreter_template.in
===================================================================
--- zope2.12/trunk/debian/python_interpreter_template.in	2011-04-28 01:00:03 UTC (rev 2183)
+++ zope2.12/trunk/debian/python_interpreter_template.in	2011-04-28 10:15:16 UTC (rev 2184)
@@ -3,6 +3,9 @@
 import sys
 import site
 
+instance = os.getenv('INSTANCE_HOME')
+if instance:
+    site.addsitedir(instance + '/lib/python')
 site.addsitedir('/usr/lib/zope at ZVER@/lib/python')
 sys.executable = os.path.abspath(__file__)
 




More information about the pkg-zope-developers mailing list