py2exe + svn - the final drama
Just
just at xs4all.nl
Sat May 7 05:05:47 EDT 2005
In article <uacn8j5yr.fsf at fitlinxx.com>,
David Bolen <db3l at fitlinxx.com> wrote:
> Just <just at xs4all.nl> writes:
>
> > the zipimport module has an attr called _zip_directory_cache, which is a
> > dict you can .clear(). Still, reloading modules is hairy at best, its
> > probably easiest to relaunch your app when the .zip file has changed.
>
> Except that he's getting an error during the process exit of the
> current execution, which is needed to restart. And if he updates to a
> different copy, there's the bootstrap problem of how to get it back
> into the standard location for the next restart since his application
> will need to have it to restart in the first place.
Right. It sounds like a module is imported at exit that wasn't imported
before. If that's the case, it may help to make sure all modules needed
for exit are imported beforehand.
Just
More information about the Python-list
mailing list