[Distutils] Which buildout to use?
Reinout van Rees
reinout at vanrees.org
Tue Aug 16 15:40:24 CEST 2011
On 16-08-11 14:41, Attila Oláh wrote:
> Hello,
>
> On Tue, Aug 16, 2011 at 13:45, Reinout van Rees<reinout at vanrees.org> wrote:
>> 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?
>
> Yes, we use zc.buildout-1.5.2 with a project that runs Pyramid on
> Google's App Engine. I run the development environment in Gentoo, and
> I have net-zope/zope-interface installed in
> /usr/lib64/python?.?/site-packages/zope/interface. When I run buildout
> with a system Python that's ABI is supported by the zope-inteface
> ebuild, it will use the one from the system site-packages. IOW,
> worksforme.
Just making sure: you have a dependency on zope.interface in your
setup.py's install_requires? So that buildout actively searches for it?
(ABI compatibility... I *did* upgrade to OSX Lion and installing some
things give me an "cannot find gcc-4.0" error. But when running my
sites, mapnik and the other libraries work just fine, so I think that
shouldn't be the problem. But I don't know what buildout 1.5 does in
detail.)
> Have you tried the allowed-eggs-from-site-packages [1] option?
Yes. Didn't have any effect, it seemed.
Reinout
--
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