[pywin32-checkins] pywin32 setup.py,1.92,1.93
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2009-01-25 03:08:14
|
Update of /cvsroot/pywin32/pywin32 In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv31011 Modified Files: setup.py Log Message: fix implib handling in debug builds Index: setup.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/setup.py,v retrieving revision 1.92 retrieving revision 1.93 diff -C2 -d -r1.92 -r1.93 *** setup.py 14 Jan 2009 04:27:41 -0000 1.92 --- setup.py 25 Jan 2009 03:08:09 -0000 1.93 *************** *** 86,90 **** # using the 'imports' fixer and therefore start much faster... if is_py3k: ! import winreg as winreg else: import _winreg --- 86,90 ---- # using the 'imports' fixer and therefore start much faster... if is_py3k: ! import winreg as _winreg else: import _winreg *************** *** 400,404 **** if self.implib_name: implib = os.path.join(build_ext.build_temp, self.implib_name) ! self.extra_link_args.append("/IMPLIB:%s" % implib) # Try and find the MFC source code, so we can reach inside for # some of the ActiveX support we need. We need to do this late, so --- 400,408 ---- if self.implib_name: implib = os.path.join(build_ext.build_temp, self.implib_name) ! if build_ext.debug: ! suffix = "_d" ! else: ! suffix = "" ! self.extra_link_args.append("/IMPLIB:%s%s.lib" % (implib, suffix)) # Try and find the MFC source code, so we can reach inside for # some of the ActiveX support we need. We need to do this late, so *************** *** 1520,1524 **** dsp_file=r"com\Active Scripting.dsp", extra_compile_args = ['-DPY_BUILD_AXSCRIPT'], ! implib_name="axscript.lib", pch_header = "stdafx.h" ), --- 1524,1528 ---- dsp_file=r"com\Active Scripting.dsp", extra_compile_args = ['-DPY_BUILD_AXSCRIPT'], ! implib_name="axscript", pch_header = "stdafx.h" ), *************** *** 1665,1669 **** %(propsys)s/propsys.cpp """ % dirs).split(), ! implib_name="pypropsys.lib", ), --- 1669,1673 ---- %(propsys)s/propsys.cpp """ % dirs).split(), ! implib_name="pypropsys", ), |