[pywin32-checkins] pywin32/Pythonwin/pywin/framework mdi_pychecker.py, 1.4, 1.5
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2009-01-27 06:26:05
|
Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/framework In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv24388/Pythonwin/pywin/framework Modified Files: mdi_pychecker.py Log Message: Fix locating PCBuild dir on 64bit builds Index: mdi_pychecker.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/framework/mdi_pychecker.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** mdi_pychecker.py 14 Nov 2008 00:22:25 -0000 1.4 --- mdi_pychecker.py 27 Jan 2009 06:25:56 -0000 1.5 *************** *** 291,295 **** py = os.path.join(sys.prefix, 'python.exe') if not os.path.isfile(py): ! py = os.path.join(sys.prefix, 'PCBuild', 'python.exe') try: py = win32api.GetShortPathName(py) --- 291,298 ---- py = os.path.join(sys.prefix, 'python.exe') if not os.path.isfile(py): ! if "64 bit" in sys.version: ! py = os.path.join(sys.prefix, 'PCBuild', 'amd64', 'python.exe') ! else: ! py = os.path.join(sys.prefix, 'PCBuild', 'python.exe') try: py = win32api.GetShortPathName(py) |