[Zope3-dev] Build problem

Fred Drake fdrake at gmail.com
Fri Sep 2 08:35:44 EDT 2005


On 9/2/05, Dmitry Vasiliev <lists at hlabs.spb.ru> 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

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>
Zope Corporation


More information about the Zope3-dev mailing list