- Timestamp:
- Oct 25, 2010 3:12:09 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/common/vboxapisetup.py
r28800 r33432 12 12 import os,sys 13 13 from distutils.core import setup 14 15 def cleanupComCache(): 16 import shutil 17 from distutils.sysconfig import get_python_lib 18 comCache = os.path.join(get_python_lib(),'win32com', 'gen_py') 19 print "Cleaning COM cache at",comCache 20 shutil.rmtree(comCache, True) 14 21 15 22 def patchWith(file,install,sdk): … … 50 57 else: 51 58 vboxSdkDest = os.path.join(vboxDest, "sdk") 59 if platform.system() == 'Windows': 60 cleanupComCache() 52 61 patchWith(os.path.join(os.path.dirname(sys.argv[0]), 'vboxapi', '__init__.py'), vboxDest, vboxSdkDest) 53 62 setup(name='vboxapi',
Note:
See TracChangeset
for help on using the changeset viewer.