[python-win32] win32com on vista
Mark Hammond
skippy.hammond at gmail.com
Fri Dec 4 02:06:26 CET 2009
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
More information about the python-win32
mailing list