Re: [Zope3-dev] Release Issues

2005-08-02 Thread Stephan Richter
On Monday 01 August 2005 23:26, Benji York wrote:
 Aren't the Zope-specific entries added to the beginning of sys.path,
 that way Zope-provided packages are be found first?

Ah, right I thought so too. But in zopetest is is appended, so that's the 
first problem solved.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics  Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] Release Issues

2005-08-02 Thread Jim Fulton

Stephan Richter wrote:

Hi everyone,

I was just putting together the release and noticed a problem. zopetest.py 
does not honor the Python setting I specified during ./configure. It always 
selects /usr/bin/python.


I noticed this because my /usr/bin/python/ has its own pytz version, which 
differs from the Zope 3 one and I got a failure. This in itself is another 
issue, because the Zope 3 specific packages should override the general 
Python ones.


Unfortunately I am stuck and do not know how to solve this. Anyone?


distutils is suposed to adjust the #! line for scripts.

Perhaps Fred could help you chase this. (I'm on vacation and
don't have time to help with this.)

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] Release Issues

2005-08-02 Thread Jim Fulton

Benji York wrote:

Stephan Richter wrote:


This in itself is another issue, because the Zope 3 specific packages
should override the general Python ones.

Unfortunately I am stuck and do not know how to solve this. Anyone?



Aren't the Zope-specific entries added to the beginning of sys.path, 
that way Zope-provided packages are be found first?


zopetest isn't installed into the instance, so isn't
rewritten the way instance-specific scripts are.

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Release Issues

2005-08-01 Thread Stephan Richter
Hi everyone,

I was just putting together the release and noticed a problem. zopetest.py 
does not honor the Python setting I specified during ./configure. It always 
selects /usr/bin/python.

I noticed this because my /usr/bin/python/ has its own pytz version, which 
differs from the Zope 3 one and I got a failure. This in itself is another 
issue, because the Zope 3 specific packages should override the general 
Python ones.

Unfortunately I am stuck and do not know how to solve this. Anyone?

Regards,
Stephan
-- 
Stephan Richter
CBU Physics  Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com