@@ -0,0 +1,1807 @@
+##############################################################################%0A#%0A# Copyright (c) 2006 Zope Corporation and Contributors.%0A# All Rights Reserved.%0A#%0A# This software is subject to the provisions of the Zope Public License,%0A# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.%0A# THIS SOFTWARE IS PROVIDED %22AS IS%22 AND ANY AND ALL EXPRESS OR IMPLIED%0A# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED%0A# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS%0A# FOR A PARTICULAR PURPOSE.%0A#%0A##############################################################################%0A%22%22%22Bootstrap a buildout-based project%0A%0ASimply run this script in a directory containing a buildout.cfg.%0AThe script accepts buildout command-line options, so you can%0Ause the -c option to specify an alternate configuration file.%0A%0A$Id$%0A%22%22%22%0A%0Aimport os, shutil, sys, tempfile, urllib2%0A%0Atmpeggs = tempfile.mkdtemp()%0A%0Atry:%0A    import pkg_resources%0Aexcept ImportError:%0A    ez = %7B%7D%0A    exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'%0A                         ).read() in ez%0A    ez%5B'use_setuptools'%5D(to_dir=tmpeggs, download_delay=0)%0A%0A    import pkg_resources%0A%0Acmd = 'from setuptools.command.easy_install import main; main()'%0Aif sys.platform == 'win32':%0A    cmd = '%22%25s%22' %25 cmd # work around spawn lamosity on windows%0A%0Aws = pkg_resources.working_set%0Aassert os.spawnle(%0A    os.P_WAIT, sys.executable, sys.executable,%0A    '-c', cmd, '-mqNxd', tmpeggs, 'zc.buildout',%0A    dict(os.environ,%0A         PYTHONPATH=%0A         ws.find(pkg_resources.Requirement.parse('setuptools')).location%0A         ),%0A    ) == 0%0A%0Aws.add_entry(tmpeggs)%0Aws.require('zc.buildout')%0Aimport zc.buildout.buildout%0Azc.buildout.buildout.main(sys.argv%5B1:%5D + %5B'bootstrap'%5D)%0Ashutil.rmtree(tmpeggs)%0A

copy bootstrap