From: Mark H. <mha...@us...> - 2008-05-30 23:11:29
|
Update of /cvsroot/pywin32/pywin32 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8949 Modified Files: pywin32_postinstall.py Log Message: Look for the MFC DLL next to win32ui to better support MFC as a SxS ass. Index: pywin32_postinstall.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/pywin32_postinstall.py,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** pywin32_postinstall.py 24 May 2008 07:20:58 -0000 1.24 --- pywin32_postinstall.py 30 May 2008 23:11:35 -0000 1.25 *************** *** 424,429 **** mfc_dll = "mfc90.dll" try: ! # It might be next to pythonwin itself. ! if not os.path.isfile(os.path.join(lib_dir, "pythonwin", mfc_dll): win32api.SearchPath(None, mfc_dll) except win32api.error: --- 424,430 ---- mfc_dll = "mfc90.dll" try: ! # It might be next to pythonwin itself (which is where setup.py ! # currently arranges for it to be installed...) ! if not os.path.isfile(os.path.join(lib_dir, "pythonwin", mfc_dll)): win32api.SearchPath(None, mfc_dll) except win32api.error: |