Update of /cvsroot/pywin32/pywin32
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18609
Modified Files:
pywin32_postinstall.py
Log Message:
Pythonwin may create .cfc files from pywin\*.cfg
Index: pywin32_postinstall.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/pywin32_postinstall.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** pywin32_postinstall.py 5 Feb 2004 23:38:03 -0000 1.9
--- pywin32_postinstall.py 7 Feb 2004 10:03:54 -0000 1.10
***************
*** 145,148 ****
--- 145,153 ----
# Register the files with the uninstaller
file_created(dst)
+ # Pythonwin 'compiles' config files - record them for uninstall.
+ pywin_dir = os.path.join(lib_dir, "Pythonwin", "pywin")
+ for fname in glob.glob(os.path.join(pywin_dir, "*.cfg")):
+ file_created(fname[:-1] + "c") # .cfg->.cfc
+
# Register our demo COM objects.
RegisterCOMObjects()
|