[pywin32-checkins] pywin32 setup.py,1.105,1.106
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2009-03-02 06:34:29
|
Update of /cvsroot/pywin32/pywin32 In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv8120 Modified Files: setup.py Log Message: don't build pythonwin if no afxres.h (eg, 'express edition') Index: setup.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/setup.py,v retrieving revision 1.105 retrieving revision 1.106 diff -C2 -d -r1.105 -r1.106 *** setup.py 2 Mar 2009 06:12:57 -0000 1.105 --- setup.py 2 Mar 2009 06:34:26 -0000 1.106 *************** *** 1805,1814 **** WinExt_pythonwin("win32ui", extra_compile_args = ['-DBUILD_PYW'], pch_header="stdafx.h", base_address=dll_base_address, ! depends=["Pythonwin/stdafx.h", "Pythonwin/win32uiExt.h"]), WinExt_pythonwin("win32uiole", pch_header="stdafxole.h", ! windows_h_version = 0x500), WinExt_pythonwin("dde", pch_header="stdafxdde.h", depends=["win32/src/stddde.h", "pythonwin/ddemodule.h"], ! platforms=['win32']), ] # win32ui is large, so we reserve more bytes than normal --- 1805,1817 ---- WinExt_pythonwin("win32ui", extra_compile_args = ['-DBUILD_PYW'], pch_header="stdafx.h", base_address=dll_base_address, ! depends=["Pythonwin/stdafx.h", "Pythonwin/win32uiExt.h"], ! optional_headers=['afxres.h']), WinExt_pythonwin("win32uiole", pch_header="stdafxole.h", ! windows_h_version = 0x500, ! optional_headers=['afxres.h']), WinExt_pythonwin("dde", pch_header="stdafxdde.h", depends=["win32/src/stddde.h", "pythonwin/ddemodule.h"], ! platforms=['win32'], ! optional_headers=['afxres.h']), ] # win32ui is large, so we reserve more bytes than normal *************** *** 1851,1855 **** extra_link_args=["/SUBSYSTEM:CONSOLE"], libraries = "user32 advapi32 ole32 shell32"), ! WinExt_pythonwin("Pythonwin", extra_link_args=["/SUBSYSTEM:WINDOWS"]), ] --- 1854,1859 ---- extra_link_args=["/SUBSYSTEM:CONSOLE"], libraries = "user32 advapi32 ole32 shell32"), ! WinExt_pythonwin("Pythonwin", extra_link_args=["/SUBSYSTEM:WINDOWS"], ! optional_headers=['afxres.h']), ] |