#!/usr/local/bin/python2.4

import sys
sys.path[0:0] = [
  '/usr/local/www/plone/mangosta_buildout_new/eggs/plone.recipe.zope2zeoserver-1.4-py2.4.egg',
  '/usr/local/www/plone/mangosta_buildout_new/eggs/zc.recipe.egg-1.2.2-py2.4.egg',
  '/usr/local/www/plone/mangosta_buildout_new/eggs/distribute-0.6.10-py2.4.egg',
  '/usr/local/www/plone/mangosta_buildout_new/eggs/zc.buildout-1.4.2-py2.4.egg',
  '/usr/local/www/plone/mangosta_buildout_new/parts/zope2/lib/python',
  '/usr/local/www/plone/mangosta_buildout_new/eggs/plone.recipe.zope2zeoserver-1.4-py2.4.egg',
  '/usr/local/www/plone/mangosta_buildout_new/eggs/zc.buildout-1.4.2-py2.4.egg',
  '/usr/local/www/plone/mangosta_buildout_new/eggs/zc.recipe.egg-1.2.2-py2.4.egg',
  ]

username = None
blob_dir = None
realm = None
days = "1"
unix = None
host = "127.0.0.1"
password = None
port = "8100"
import getopt; opts = getopt.getopt(sys.argv[1:], 'S:W1')[0]; storage = opts and opts[0][1] or '1'

import plone.recipe.zope2zeoserver.pack

if __name__ == '__main__':
    plone.recipe.zope2zeoserver.pack.main(host, port, unix, days, username, password, realm, blob_dir, storage)

