Hi,

On Fri, Dec 3, 2010 at 18:28, Alan Franzoni <[email protected]> wrote:
> Hello,
> there's a problem with zc.buildout that I can reproduce very easily on
> Ubuntu 10.10 (64 bit)
>
> it seems that zc.buildout does not download the dependency from pypi
> if the very same version is already available in the host system, but
> then for some reason does not add it to sys.path and/or is unable to
> use it for some reason; zope.testrunner hence fails on importing
> zope.interface
>
> python-zope.interface is installed at version 3.6.1, and
> zope.testrunner seems to use that very same dependency.
>
> Any workaround? I'll open an issue on launchpad in the weekend.
>
> Do this in order to reproduce the problem:

I ran your script, and the result ended with:
Total: 0 tests, 0 failures, 0 errors in 0.000 seconds.

I also have zope.interface 3.6.1 on my system. Gentoo, Python 2.7.1+.

$ eix zope.interface
[D] net-zope/zope-interface
     Available versions:  3.5.1 3.5.2 (~)3.5.3
     Installed versions:  3.6.1(06:23:08 10/23/10)
     Homepage:            http://pypi.python.org/pypi/zope.interface
     Description:         Interfaces for Python

Perhaps try adding this to the buildout config:

include-site-packages = true
allowed-eggs-from-site-packages =
    zope.interface

Attila
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to