[Distutils] Which buildout to use?
Reinout van Rees
reinout at vanrees.org
Tue Aug 16 13:45:48 CEST 2011
Hi,
There's buildout 1.4.4, 1.5.2 and an alpha of 2.0.
The 2.0 seems to aim at python 3 and is, according to the docs, in a
very early alpha stage, so I'll leave that one out.
What I'm using now is 1.4.4 with the special bootstrap.py that ensures
it picks 1.4.4 instead of a newer one. The reason: it works with
http://pypi.python.org/pypi/osc.recipe.sysegg which finds system wide
python packages (numpy and other stuff better installed through the OS).
I tried 1.5.x half a year ago, but it didn't find numpy&friends on
ubuntu even though 1.5 is supposed to allow just that. I tried it this
morning on OSX with 1.5.2 but still no luck. It doesn't want to find the
OS-level packages.
But... sticking to ye olde 1.4.4 seems wrong to me. So I phoned my
brother Maurits (hi!) who is working with plone: plone is a heavy
buildout user, so what's the status there? He said plone is basically
also still on 1.4.4!
a) I feel a bit better sticking to 1.4.4, knowing that plone also does it.
b) Is anyone actually using 1.5.2 with system packages? And by that I
mean that you have a dependency on something like numpy and buildout
actually finds that package locally and won't try and grab it off pypi?
Am I doing something wrong? I dare say I've got an above average
experience with buidout and I just can't get this to work.
Reinout
p.s.: Here's my buildout config. Am I doing something completely wrong?
[buildout]
parts = scripts
include-site-packages = true
allowed-eggs-from-site-packages =
numpy
[scripts]
recipe = zc.recipe.egg
eggs =
numpy
--
Reinout van Rees http://reinout.vanrees.org/
reinout at vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"
More information about the Distutils-SIG
mailing list