[Zope-dev] A suggestion for changing exception handler when loading 'c' optimisations to make modules more friendly for GAE

Jim Fulton jim at zope.com
Fri Jul 3 06:33:49 EDT 2009


On Jul 3, 2009, at 6:25 AM, Tim Hoffman wrote:

> Hi Jim
>
> That is what I am doing now, the problem I see though is when someone
> upates (via buildout etc.... a)  module they need to remember to
> remove the recreated file before redeploying the app,  unfortunately I
> am not sure I see a way reliable way of specifying that these files
> should be deleted in any automatic sense.  At least an ignore in the
> app.yaml isn't feasible.


I'm sure there's a way to do it.  It will just take some digging.   
Maybe there's a way to tell setuptools not to do it or maybe there's  
enough meta data laying around for buildout to undo it.  For example,  
the EGG-INFO/SOURCES.txt has a list of the original files in the  
distribution, so it should be easy enough to figure out where these  
extra bogus files are.

Jim

--
Jim Fulton
Zope Corporation




More information about the Zope-Dev mailing list