[pywin32-checkins] pywin32 setup.py,1.2,1.3
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2004-11-08 02:58:19
|
Update of /cvsroot/pywin32/pywin32 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3946 Modified Files: setup.py Log Message: A module wrapping the Windows XP 'theme' APIs. Index: setup.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/setup.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** setup.py 18 Oct 2004 06:02:35 -0000 1.2 --- setup.py 8 Nov 2004 02:57:36 -0000 1.3 *************** *** 2,6 **** # Putting buildno at the top prevents automatic __doc__ assignment, and # I *want* the build number at the top :) ! __doc__="""This is a distutils setup-script for the pywin32 extnesions To build the pywin32 extensions, simply execute: --- 2,6 ---- # Putting buildno at the top prevents automatic __doc__ assignment, and # I *want* the build number at the top :) ! __doc__="""This is a distutils setup-script for the pywin32 extensions To build the pywin32 extensions, simply execute: *************** *** 76,79 **** --- 76,80 ---- this_file = sys.argv[0] + this_file = os.path.abspath(this_file) # We get upset if the cwd is not our source dir, but it is a PITA to # insist people manually CD there first! *************** *** 157,160 **** --- 158,163 ---- def get_source_files(self, dsp): result = [] + if dsp is None: + return result dsp_path = os.path.dirname(dsp) for line in open(dsp, "r"): *************** *** 861,864 **** --- 864,875 ---- extra_swig_commands=["-DWINXPGUI"], ), + # winxptheme + WinExt_win32("_winxptheme", + sources = ["win32/src/_winxptheme.i", "win32/src/_winxpthememodule.cpp"], + dsp_file = None, + libraries="gdi32 user32 comdlg32 comctl32 shell32 Uxtheme", + windows_h_version=0x0500, + extra_compile_args = ['-DUNICODE', '-D_UNICODE', '-DWINNT'], + ), WinExt_win32('servicemanager', extra_compile_args = ['-DUNICODE', '-D_UNICODE', *************** *** 1203,1210 **** and not dist.command_obj.has_key('bdist_wininst'): # What executable to use? This one I guess. ! filename = os.path.join( ! os.path.dirname(sys.argv[0]), "pywin32_postinstall.py") if not os.path.isfile(filename): ! raise RuntimeError, "Can't find pywin32_postinstall.py" print "Executing post install script..." os.spawnl(os.P_NOWAIT, sys.executable, --- 1214,1220 ---- and not dist.command_obj.has_key('bdist_wininst'): # What executable to use? This one I guess. ! filename = os.path.join(os.path.dirname(this_file), "pywin32_postinstall.py") if not os.path.isfile(filename): ! raise RuntimeError, "Can't find '%s'" % (filename,) print "Executing post install script..." os.spawnl(os.P_NOWAIT, sys.executable, |