Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update buildout to latest version

  • Loading branch information...
commit ed31cf765bd720260f811b90a38527a18a55c22b 1 parent ec2d0bb
Dylan Jay authored
Showing with 70 additions and 22 deletions.
  1. +55 −0 bootstrap.py
  2. +15 −22 buildout.cfg
View
55 bootstrap.py
@@ -0,0 +1,55 @@
+##############################################################################
+#
+# Copyright (c) 2006 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Bootstrap a buildout-based project
+
+Simply run this script in a directory containing a buildout.cfg.
+The script accepts buildout command-line options, so you can
+use the -c option to specify an alternate configuration file.
+
+$Id$
+"""
+
+import os, shutil, sys, tempfile, urllib2
+
+tmpeggs = tempfile.mkdtemp()
+
+try:
+ import pkg_resources
+except ImportError:
+ ez = {}
+ exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
+ ).read() in ez
+ ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)
+
+ import pkg_resources
+
+cmd = 'from setuptools.command.easy_install import main; main()'
+if sys.platform == 'win32':
+ cmd = '"%s"' % cmd # work around spawn lamosity on windows
+
+ws = pkg_resources.working_set
+assert os.spawnle(
+ os.P_WAIT, sys.executable, sys.executable,
+ '-c', cmd, '-mqNxd', tmpeggs, 'zc.buildout',
+ dict(os.environ,
+ PYTHONPATH=
+ ws.find(pkg_resources.Requirement.parse('setuptools')).location
+ ),
+ ) == 0
+
+ws.add_entry(tmpeggs)
+ws.require('zc.buildout')
+import zc.buildout.buildout
+zc.buildout.buildout.main(sys.argv[1:] + ['bootstrap'])
+shutil.rmtree(tmpeggs)
View
37 buildout.cfg
@@ -1,11 +1,14 @@
[buildout]
develop = .
parts =
+ lxml
instance
test
+# roadrunner
extends =
- http://dist.plone.org/release/3.3rc2/versions.cfg
- http://good-py.appspot.com/release/dexterity/1.0a1?plone=3.3rc2
+ http://dist.plone.org/release/3.3/versions.cfg
+# http://good-py.appspot.com/release/dexterity/1.0a1?plone=3.3rc2
+
versions = versions
@@ -13,7 +16,7 @@ versions = versions
[test]
recipe = zc.recipe.testrunner
eggs =
- pretaweb.funnelweb
+ ${instance:eggs}
[lxml]
recipe = z3c.recipe.staticlxml
@@ -21,7 +24,6 @@ egg = lxml == 2.2.2
[zope2]
recipe = plone.recipe.zope2install
-#url = http://www.zope.org/Products/Zope/2.10.6/Zope-2.10.6-final.tgz
url = ${versions:zope2-url}
fake-zope-eggs = true
additional-fake-eggs =
@@ -29,40 +31,31 @@ additional-fake-eggs =
pytz
zope.site
+
[instance]
recipe = plone.recipe.zope2instance
zope2-location = ${zope2:location}
debug-mode = on
verbose-security = on
user = admin:admin
-#http-address = localhost:8080
zcml-eggs =
pretaweb.funnelweb
-# collective.transmogrifier
-# plone.app.transmogrifier
plone.reload
- zc.queue
eggs =
PIL
Plone
-# ${bsddb3:egg}
plone.i18n
${instance:zcml-eggs}
${lxml:egg}
zcml =
${instance:zcml-eggs}
+[roadrunner]
+recipe = roadrunner:plone
+zope2-instance = instance
+packages-under-test =
+ pretaweb.funnelweb==0.2
-
-[bdb]
-recipe = ro.bdb.cmmi
-md5sum = 073ab7f20d24b3872a51ca762f5090e7
-url = http://download.oracle.com/berkeley-db/db-4.7.25.NC.tar.gz
-
-[bsd3-env]
-BERKELEYDB_DIR = ${bdb:location}
-
-[bsddb3]
-recipe = zc.recipe.egg:custom
-egg = bsddb3
-environment = bsd3-env
+[versions]
+zc.buildout=1.4.1
+roadrunner = 0.2.3.1
Please sign in to comment.
Something went wrong with that request. Please try again.