I got PythonScripts running on 2.2.4 after doing the following:

1) Install PythonScripts from CVS just like any other Product.

2) Add these lines to lib/python/AccessControl/__init__.py:

from SecurityInfo import ClassSecurityInfo, ModuleSecurityInfo
from SecurityInfo import ACCESS_PRIVATE
from SecurityInfo import ACCESS_PUBLIC
from SecurityInfo import ACCESS_NONE
from SecurityInfo import secureModule

3) Add the CVS version of SecurityInfo.py to lib/python/AccessControl/

It works in my limited testing, but I have no idea if something is badly
broken that just hasn't shown itself yet.

_______________________

Ron Bickers
Logic Etc, Inc.
[EMAIL PROTECTED]

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Evan
> Simpson
> Sent: Wednesday, December 13, 2000 2:52 PM
> To: Ronald L. Roeber; [EMAIL PROTECTED]
> Subject: Re: [Zope] What version of Python Methods - no - Scripts for
> 2.2.4?
>
>
> From: Evan Simpson <[EMAIL PROTECTED]>
> > After a little experimentation, I was able to get it to run with Zope
> 2.0.0.
> > It required small changes to __init__.py and Guarded.py, which are
> available
> > through cvs.zope.org.
>
> P.P.S.
>
> That's "2.2.0", not "2.0.0", and as of three hours ago you would also need
> to backport (or stub out) OFS.Cache :-(
>
> Sorry,
>
> Evan @ digicool & 4-am
>
>
> _______________________________________________
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>
>


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to