- Timestamp:
- 10/08/08 18:32:02 (3 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
wxPython/branches/WX_2_8_BRANCH/distrib/make_installer.py
r56029 r56175 202 202 Source: "wxPython\tools\*.py"; DestDir: "{app}\%(PKGDIR)s\wxPython\tools"; Components: core 203 203 204 205 Source: "src\winxp.manifest"; DestDir: "{code:GetPythonDir}"; DestName: "python.exe.manifest"; Flags: sharedfile; Components: manifest 206 Source: "src\winxp.manifest"; DestDir: "{code:GetPythonDir}"; DestName: "pythonw.exe.manifest"; Flags: sharedfile; Components: manifest 204 %(MANIFEST)s 205 207 206 Source: "wxversion\wxversion.py"; DestDir: "{app}"; Flags: sharedfile; Components: core 208 207 Source: "wxaddons\*.py"; DestDir: "{app}\wxaddons"; Flags: sharedfile; Components: core … … 707 706 # Just hard-code it for now until a good solution for finding 708 707 # the right dumpbin can be found... 709 return '28uh', '2.5'710 708 return '28uh', sys.version[:3] 709 711 710 WXDLLVER = PYTHONVER = None 712 711 … … 764 763 def get_runtime_dlls(PYVER, PKGDIR): 765 764 if os.environ.get('CPU', '') == 'AMD64': 766 # For now just pull the DLLs from the system dir, and install 767 # them there. We may eventually want to get more customized 768 # like on win32. 769 return ( 770 r'Source: "{sys}\MSVCRT.DLL"; DestDir: "{sys}"; Flags: 64bit uninsneveruninstall external; Components: core', 771 r'Source: "{sys}\MSVCP60.DLL"; DestDir: "{sys}"; Flags: 64bit uninsneveruninstall external; Components: core', 772 ) 773 774 if PYVER >= "py24": 775 return ( runtime_template1 % dict(name=r"distrib\msw\msvcr71.dll", PKGDIR=PKGDIR), 776 runtime_template2 % dict(name=r"distrib\msw\msvcp71.dll", PKGDIR=PKGDIR) ) 765 if PYVER == 'py25': 766 # For now just pull the DLLs from the system dir, and install 767 # them there. We may eventually want to get more customized 768 # like on win32. 769 return ( 770 r'Source: "{sys}\MSVCRT.DLL"; DestDir: "{sys}"; Flags: 64bit uninsneveruninstall external; Components: core', 771 r'Source: "{sys}\MSVCP60.DLL"; DestDir: "{sys}"; Flags: 64bit uninsneveruninstall external; Components: core', 772 ) 773 else: 774 # Since Python 2.6+ uses MSVC 9 then the SxS assemblies 775 # for the CRT will already be installed, so we can not 776 # bother with installing it ourselves. 777 return ('', '') 778 777 779 else: 778 return ( runtime_template1 % dict(name=r"distrib\msw\MSVCRT.dll", PKGDIR=PKGDIR), 779 runtime_template2 % dict(name=r"distrib\msw\MSVCIRT.dll", PKGDIR=PKGDIR) + "\n" + 780 runtime_template2 % dict(name=r"distrib\msw\MSVCP60.dll", PKGDIR=PKGDIR) ) 780 if PYVER >= "py24": 781 return ( runtime_template1 % dict(name=r"distrib\msw\msvcr71.dll", PKGDIR=PKGDIR), 782 runtime_template2 % dict(name=r"distrib\msw\msvcp71.dll", PKGDIR=PKGDIR) ) 783 else: 784 return ( runtime_template1 % dict(name=r"distrib\msw\MSVCRT.dll", PKGDIR=PKGDIR), 785 runtime_template2 % dict(name=r"distrib\msw\MSVCIRT.dll", PKGDIR=PKGDIR) + "\n" + 786 runtime_template2 % dict(name=r"distrib\msw\MSVCP60.dll", PKGDIR=PKGDIR) ) 781 787 782 788 … … 815 821 BITS = '32' 816 822 VCDLLDIR = 'vc_dll' 817 GDIPLUS = 'Source: "distrib\msw\gdiplus.dll"; DestDir: "{app}\%(PKGDIR)s\wx"; Components: core; Flags: replacesameversion' 823 GDIPLUS = 'Source: "distrib\msw\gdiplus.dll"; DestDir: "{app}\%(PKGDIR)s\wx"; Components: core; Flags: replacesameversion' % vars() 818 824 ARCH = '' 819 825 PRIV = 'none' 826 827 if PYVER <= 'py25': 828 MANIFEST = 'Source: "src\winxp.manifest"; DestDir: "{code:GetPythonDir}"; DestName: "python.exe.manifest"; Flags: sharedfile; Components: manifest\n' + \ 829 'Source: "src\winxp.manifest"; DestDir: "{code:GetPythonDir}"; DestName: "pythonw.exe.manifest"; Flags: sharedfile; Components: manifest\n' 830 else: 831 MANIFEST = 'Source: "src\winxp.vc9.manifest"; DestDir: "{code:GetPythonDir}"; DestName: "python.exe.manifest"; Flags: sharedfile; Components: manifest\n' + \ 832 'Source: "src\winxp.vc9.manifest"; DestDir: "{code:GetPythonDir}"; DestName: "pythonw.exe.manifest"; Flags: sharedfile; Components: manifest\n' 820 833 821 834
