Changeset 460d3a1 in sasview for installers/setup_exe.py
- Timestamp:
- Aug 31, 2017 4:19:08 PM (7 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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 706bb4e
- Parents:
- b39d32d5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
installers/setup_exe.py
ra2a1c20 r460d3a1 150 150 """%{'arch': arch} 151 151 152 if is_64bits:153 msvcrtdll = glob(r"C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT\*.*")154 else:155 msvcrtdll = glob(r"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT\*.*")156 msvcrtdll_data_files = ("Microsoft.VC90.CRT", msvcrtdll) if msvcrtdll else None157 158 152 class Target: 159 153 def __init__(self, **kw): … … 279 273 data_files.append(('.', mkl_dlls)) 280 274 281 if msvcrtdll_data_files is not None: 275 if is_64bits: 276 msvcrtdll = glob(r"C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT\*.*") 277 else: 278 msvcrtdll = glob(r"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT\*.*") 279 if msvcrtdll: 282 280 # install the MSVC 9 runtime dll's into the application folder 283 data_files.append( msvcrtdll_data_files)281 data_files.append(("Microsoft.VC90.CRT", msvcrtdll)) 284 282 285 283 # NOTE: … … 352 350 ) 353 351 354 bundle_option = 3 if is_64bits else 2 352 #bundle_option = 3 if is_64bits else 2 353 bundle_option = 3 355 354 generate_installer() 356 355 #initialize category stuff
Note: See TracChangeset
for help on using the changeset viewer.