# This Configuration file is used to to define a standard deployment, without 
# any create instances. This should create the basic services required for run 
# one ERP5 instance, like MySQL server, CloudOoo and so on. For use this
# configuration # it is required build a software home previously.

[buildout]
extends =
  ../instance-profiles/apache.cfg
  ../instance-profiles/cloudooo.cfg
  ../instance-profiles/kumo.cfg
  ../instance-profiles/kvm.cfg
  ../instance-profiles/memcached.cfg
  ../instance-profiles/mysql-database.cfg
  ../instance-profiles/mysql.cfg
  ../instance-profiles/sphinx.cfg
  ../instance-profiles/supervisor.cfg
  ../instance-profiles/testing.cfg
  ../instance-profiles/testrunner.cfg
  ../instance-profiles/zeo.cfg
  ../instance-profiles/zope-2.12.cfg
  ../profiles/common.cfg
  ../profiles/software-definition.cfg
  ../profiles/versions-2.12.cfg

parts =
  eggs
  mysql-instance
  cloudooo-instance
  supervisor-instance
  memcached-instance

versions = versions

extensions += erp5.extension.sectionextender

[eggs]
recipe = zc.recipe.egg
scripts =
  mkzopeinstance
  runzope
eggs =
  Products.ExternalEditor
  lxml
  MySQL_python
  python_ldap
  PyXML
  SOAPpy
  cElementTree
  chardet
  elementtree
  erp5diff
  ipdb
  mechanize
  numpy
  ordereddict
  paramiko
  ply
  pysvn
  python-magic
  python-memcached
  pytz
  simplejson
  threadframe
  timerserver
  urlnorm
  uuid
  xml_marshaller
  xupdate_processor
  feedparser

# Zope 2.12 with patched acquisition
  Zope2
  Acquisition

# Other Zope 2 packages
  Products.PluggableAuthService
  Products.PluginRegistry

# CMF 2.2
  Products.CMFActionIcons
  Products.CMFCalendar
  Products.CMFCore
  Products.CMFDefault
  Products.CMFTopic
  Products.CMFUid
  Products.DCWorkflow
  Products.GenericSetup
  five.localsitemanager

# Other products
    Products.DCWorkflowGraph
    Products.MimetypesRegistry
    Products.ExternalEditor
    Products.Zelenium

# Currently forked in our repository
#    Products.PortalTransforms
# Dependency for our fork of PortalTransforms
    StructuredText
extra-paths =
  ${itools:lib}

#[software-links]
#recipe = plone.recipe.command
#command =
#  ln -sf ${software_definition:software_home}/bin/python2.4 ${buildout:bin-directory}/python2.4
#  ln -sf ${software_definition:software_home}/bin/ipython2.4 ${buildout:bin-directory}/ipython2.4
#update-command = ${:command}