From 6f86f2ef24dc25dba4c2edb100d5e9d449f5af8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Tue, 16 Feb 2010 15:32:30 +0000
Subject: [PATCH]  - eggs shall be available during software initalisation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32640 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 buildout/development.cfg            |  3 ---
 buildout/instance-profiles/zope.cfg | 16 ----------------
 buildout/official.cfg               |  1 +
 buildout/software-profiles/erp5.cfg | 20 ++++++++++++++++++++
 4 files changed, 21 insertions(+), 19 deletions(-)

diff --git a/buildout/development.cfg b/buildout/development.cfg
index c397de684d..ccb0307e8d 100644
--- a/buildout/development.cfg
+++ b/buildout/development.cfg
@@ -15,8 +15,6 @@ debug-mode = on
 location = ${buildout:var-directory}/zope-instance
 
 eggs +=
-  ipdb
-  pysvn
   Products.ExternalEditor
 
 # until we will have more control over products we need to redefine to insert
@@ -40,7 +38,6 @@ bt5-path = ${bt5-erp5:location}
 bt5 =
    erp5_base
    erp5_forge
-
 [requirements]
 binary +=
   svn
diff --git a/buildout/instance-profiles/zope.cfg b/buildout/instance-profiles/zope.cfg
index e957c21350..6821e6c5eb 100644
--- a/buildout/instance-profiles/zope.cfg
+++ b/buildout/instance-profiles/zope.cfg
@@ -18,22 +18,6 @@ zope-conf-additional=
     interval 5
   </timer-server>
 
-eggs =
-    MySQL-python
-    python-memcached
-    PyXML
-    ply
-    python-ldap
-    lxml
-    pytz
-    timerserver
-    erp5diff
-    mechanize
-    ClientForm
-    ${itools:egg}
-    numpy
-    simplejson
-
 products =
   ${cmf15:location}/CMF/
   ${products-deps:location}
diff --git a/buildout/official.cfg b/buildout/official.cfg
index eab1018aa6..8910fecf04 100644
--- a/buildout/official.cfg
+++ b/buildout/official.cfg
@@ -33,6 +33,7 @@ find-links =
 
 parts =
   pythonbin
+  eggs
   apache
   memcached
 #  haproxy
diff --git a/buildout/software-profiles/erp5.cfg b/buildout/software-profiles/erp5.cfg
index 9e5c1cc217..eb253cd25a 100644
--- a/buildout/software-profiles/erp5.cfg
+++ b/buildout/software-profiles/erp5.cfg
@@ -116,6 +116,26 @@ urls =
     svn://svn.zope.org/repos/main/PluginRegistry/tags/1.0 PluginRegistry
     http://svn.plone.org/svn/archetypes/MimetypesRegistry/tags/Archetypes-1.4.0-final MimetypesRegistry
 
+[eggs]
+recipe = zc.recipe.egg
+eggs =
+  ${itools:egg}
+  ClientForm
+  MySQL-python
+  PyXML
+  erp5diff
+  ipdb
+  lxml
+  mechanize
+  numpy
+  ply
+  pysvn
+  python-ldap
+  python-memcached
+  pytz
+  simplejson
+  timerserver
+
 [requirements]
 development = /usr/include/glib-2.0/glib.h
 
-- 
2.30.9