Changeset b08d3cd in sasview
- Timestamp:
- Dec 2, 2011 2:54:46 PM (13 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- a613fe0
- Parents:
- 7fd62c3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/setup_exe.py
rfa4885f9 rb08d3cd 41 41 origIsSystemDLL = py2exe.build_exe.isSystemDLL 42 42 def isSystemDLL(pathname): 43 if os.path.basename(pathname).lower() in ("msvcp71.dll", " msvcr90.dll", "dwmapi.dll"):43 if os.path.basename(pathname).lower() in ("msvcp71.dll", "comctl32.dll", "msvcr90.dll", "dwmapi.dll"): 44 44 return 0 45 45 return origIsSystemDLL(pathname) 46 46 py2exe.build_exe.isSystemDLL = isSystemDLL 47 47 48 49 manifest = """ 50 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> 51 <assembly xmlns="urn:schemas-microsoft-com:asm.v1" 52 manifestVersion="1.0"> 53 <assemblyIdentity 54 version="0.64.1.0" 55 processorArchitecture="x86" 56 name="Controls" 57 type="win32" 58 /> 59 <description>SansView</description> 60 <dependency> 61 <dependentAssembly> 62 <assemblyIdentity 63 type="win32" 64 name="Microsoft.Windows.Common-Controls" 65 version="6.0.0.0" 66 processorArchitecture="X86" 67 publicKeyToken="6595b64144ccf1df" 68 language="*" 69 /> 70 </dependentAssembly> 71 </dependency> 72 </assembly> 73 """ 48 if platform.architecture()[0] == '64bit': 49 manifest = """ 50 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> 51 <assembly xmlns="urn:schemas-microsoft-com:asm.v1" 52 manifestVersion="1.0"> 53 <assemblyIdentity 54 version="0.64.1.0" 55 processorArchitecture="amd86" 56 name="Controls" 57 type="win32" 58 /> 59 <description>SansView</description> 60 <dependency> 61 <dependentAssembly> 62 <assemblyIdentity 63 type="win32" 64 name="Microsoft.Windows.Common-Controls" 65 version="6.0.0.0" 66 processorArchitecture="amd86" 67 publicKeyToken="6595b64144ccf1df" 68 language="*" 69 /> 70 </dependentAssembly> 71 </dependency> 72 </assembly> 73 """ 74 else: 75 manifest = """ 76 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> 77 <assembly xmlns="urn:schemas-microsoft-com:asm.v1" 78 manifestVersion="1.0"> 79 <assemblyIdentity 80 version="0.64.1.0" 81 processorArchitecture="x86" 82 name="Controls" 83 type="win32" 84 /> 85 <description>SansView</description> 86 <dependency> 87 <dependentAssembly> 88 <assemblyIdentity 89 type="win32" 90 name="Microsoft.Windows.Common-Controls" 91 version="6.0.0.0" 92 processorArchitecture="X86" 93 publicKeyToken="6595b64144ccf1df" 94 language="*" 95 /> 96 </dependentAssembly> 97 </dependency> 98 </assembly> 99 """ 74 100 75 101
Note: See TracChangeset
for help on using the changeset viewer.