On 4/12/2009 11:38 AM, Jeff Peery wrote:
hello,
I've got a wxpython app that uses win32com and I've packaged it all up
using py2exe. I'm having a problem because the
win32com.client.gencache.py appears to be creating some
directories/files in the installation directoy (which is under program
files) and a non admin user doesn't have write to do this. why is it
creating these files and can I redirect them to another place like that
application data folder?

The best solution is probably to arrange for the pre-generated modules to be included in the py2exe distribution - there are some docs on this in the py2exe directory.

Alternatively, check out win32com\__init__.py and look for how __gen_path__ is setup.

HTH,

Mark
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to