[Zope3-dev] Build problem
Dmitry Vasiliev
lists at hlabs.spb.ru
Fri Sep 2 09:04:38 EDT 2005
Fred Drake wrote:
>>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.
Before the fix (rev. 38239):
['buildsupport', ..., 'src']
After the fix:
['src','buildsupport', ...]
> 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.
Linux
--
Dmitry Vasiliev (dima at hlabs.spb.ru)
http://hlabs.spb.ru
More information about the Zope3-dev
mailing list