On 9/2/05, Dmitry Vasiliev <[EMAIL PROTECTED]> wrote:
> There is a problem to build extensions for the Zope3 trunk (and I guess
> for ZODB trunk as well) - all extension module names is lowercased now.
> For example:

This is a symptom of getting the wrong ZConfig version.  This setup
requires 2.3.1, which is part of the Zope 3 checkout on the trunk.

> Ugh, the problem is in new setup.py at line 24:
> site.addsitedir(buildsupport)
> 'src' directory now appended at the end of the sys.path and old version of
> ZConfig had been imported by zpgsetup.

This is surprising.  The sys.path.insert(0, ...) line (which you
removed) was intended to avoid the append.  Your solution should
result in the same sys.path.

Are you running on Unix/Linux, or Windows?  Tim did notice a problem
that was fixed by setting up sys.path differently when using the zpkg
command-line tool as well, but that was very specific to how Python
sets up sys.path when running a script.


Fred L. Drake, Jr.    <fdrake at gmail.com>
Zope Corporation
Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to