Grzegorz Adam Hankiewicz wrote: > Ross McKerchar wrote: > >> b) Let me know if there's a more robust way of preventing the cache >> write (there appears to be code supporting freezing functionality that >> should help but I couldn't figure out a neat way of using it) >> > > I think you should read > http://www.py2exe.org/index.cgi/UsingEnsureDispatch. I happened to have > the same problem generating the cache of an OCX library. I implemented a > function which before py2exe'ing my binary would make sure the local > python cache is completely removed. Also added the wiki code to my own. Brilliant - with help from the link above, I got python to use a per user (and hence writable) gen_yp dir simply by removing the global one.
Many thanks -ross _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32