[triangle-zpug] Plone Jam this Thursday at Duke

Ben Donnelly bendonnelly at gmail.com
Wed Jan 16 15:04:45 UTC 2008

I've been using buildouts for our Plone3 roll out. First site is here,
still mostly closed to the public


Here's how I get Python setup for it.

We've got a linux yum repository at Duke, so I wrap my buildout in a
bash script that sets up a local version of python for Plone.
Basically I use wget to grab the python RPMs out of the repo, then
force them to /opt. But if you've got the RPMs available somewhere
else, this still works in principle:

INSTALLDIR= /opt/myplone

rpm -ivh --force \
--relocate  /usr/bin=$INSTALLDIR/Python/bin \
--relocate /usr/lib/=$INSTALLDIR/Python/lib \
--relocate /usr/share/=$INSTALLDIR/Python/share \

Then, with the Python binary installed, I grab easy_install and set up PIL:


wget http://peak.telecommunity.com/dist/ez_setup.py
$PYBIN/python ez_setup.py

$PYBIN/easy_install --find-links http://www.pythonware.com/products/pil/ Imaging

Then I have do a bit of trickery to rename the PIL egg so the buildout
script can find it. Here's the whole script, still a work in progress:


which also refers to this buildout config- it's pretty much the
default buildout with LDAP support added in.


I hate it but I'm note sure I'll be able to come by the Plone Jam,
I've got some travel coming up.

- Bendy

On Jan 16, 2008 8:54 AM, Mark R. Biggers <biggers at utsl.com> wrote:
> Howdy Mike,
> Any pointers to "Plone3 buildouts" you would like to share, before the Jam?
> I had some success with:
>     http://www.openplans.org/projects/plone3-example-themes/theme-development-environment-setup
>   (warning: does not build PIL for you, so Plone may not load - depends
>     on your Python build-setup):
> Although we would need a Plone "Unified Installer" -type buildout, since our
> current Plone sites are a superset of P.U.I.:
>   http://www.nabble.com/Unified-Installer-with-Buildout-td14264933s6745.html
>   https://launchpad.net/plone/3.0/3.0.5
>     =>> "Plone 3.0.5 Unified Installer Plus Buildout (Experimental)"
>   (warning: I haven't tried this yet...  We'd also have to modify it for
>   'runit', Apache config, etc, as we did for PUI)
> Thank you for hosting PJam!
> ----mark
> Mike Revoir writes:
>  > Just a friendly reminder that we'll be having a Plone Jam at Duke this
>  > Thursday night (17 Jan 2008) at 6 o'clock.
>  > Hope to see you there,
>  >
>  > Mike
>  >
>  > http://trizpug.org/Members/mrevoir/plonejams/2008-1-17
> _______________________________________________
> triangle-zpug mailing list
> triangle-zpug at starship.python.net
> http://starship.python.net/mailman/listinfo/triangle-zpug

More information about the triangle-zpug mailing list