Skip to content

Instantly share code, notes, and snippets.

@pigeonflight
Last active December 15, 2015 13:29
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save pigeonflight/5268138 to your computer and use it in GitHub Desktop.
Working Buildout for Plone 2.5.5
# this buildout works to build plone 2.5.5
# it assumes you used buildout.python to create a working Python 2.4
# in the /usr/local/python directory
# this can be acheived using the following commands:
#
# cd /usr/local
# git clone https://github.com/collective/buildout.python.git python
# cd python
# python bootstrap.py
#
# Edit 'buildout.cfg' so that parts and eggs only reference python 2.4
#extends =
# src/base.cfg
# src/readline.cfg
# src/libjpeg.cfg
# src/python24.cfg
# src/links.cfg
# parts =
# ${buildout:base-parts}
# ${buildout:readline-parts}
# ${buildout:libjpeg-parts}
# ${buildout:python24-parts}
# ${buildout:links-parts}
# Then run buildout
#
# bin/buildout
# bin/install-links
# I used it along with virtualenv as follows
# /usr/local/python/bin/virtualenv-2.4 .
# bin/easy_install zc.buildout==1.4.4
# mv buildout.cfgzz && bin/buildout init && mv buildout.cfgzz buildout.cfg
# bin/buildout
[buildout]
parts =
plone
zope2
productdistros
instance
zopepy
versions=versions
# Add additional egg download sources here. dist.plone.org contains archives
# of Plone packages.
find-links =
http://dist.plone.org
http://download.zope.org/ppix/
http://download.zope.org/distribution/
http://effbot.org/downloads
# Add additional eggs here
# elementtree is required by Plone
eggs =
elementtree
Pillow
# Reference any eggs you are developing here, one per line
# e.g.: develop = src/my.package
develop =
[versions]
plone.recipe.zope2instance = 3.6
Pillow = 1.7.8
[plone]
# For more information on this step and configuration options see:
# http://pypi.python.org/pypi/plone.recipe.distros
recipe = plone.recipe.distros
urls = http://launchpad.net/plone/2.5/2.5.5/+download/Plone-2.5.5.tar.gz
nested-packages = Plone-2.5.5.tar.gz
version-suffix-packages = Plone-2.5.5.tar.gz
[zope2]
# For more information on this step and configuration options see:
# http://pypi.python.org/pypi/plone.recipe.zope2install
recipe = plone.recipe.zope2install
fake-zope-eggs = true
additional-fake-eggs =
ZODB3
url = http://www.zope.org/Products/Zope/2.9.10/Zope-2.9.10-final.tgz
[productdistros]
# For more information on this step and configuration options see:
# http://pypi.python.org/pypi/plone.recipe.distros
recipe = plone.recipe.distros
urls =
# http://codespeak.net/z3/five/release/Five-1.4.4.tgz
# http://codespeak.net/z3/cmfonfive/release/CMFonFive-1.3.4.tgz
nested-packages =
version-suffix-packages =
[instance]
recipe = plone.recipe.zope2instance
zope2-location = ${zope2:location}
user = admin:admin
http-address = 1235
debug-mode = on
verbose-security = on
# e.g. eggs = Plone my.package
eggs =
${buildout:eggs}
# e.g. zcml = my.package my.other.package
zcml =
products =
${buildout:directory}/products
${productdistros:location}
${plone:location}
[zopepy]
# For more information on this step and configuration options see:
# http://pypi.python.org/pypi/zc.recipe.egg
recipe = zc.recipe.egg
eggs = ${instance:eggs}
interpreter = zopepy
extra-paths = ${zope2:location}/lib/python
scripts = zopepy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment