Changes in / [a40e913:6eb02a5] in sasview


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • installers/installer_generator.py

    r460d3a1 ra0f4768  
    99import sys 
    1010import string 
     11 
     12is_64bit = sys.maxsize > 2**32 
    1113 
    1214root = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 
     
    2527AppSupportURL = local_config._homepage 
    2628AppUpdatesURL = local_config._homepage 
     29ArchitecturesInstallIn64BitMode = 'x64' 
    2730ChangesEnvironment = 'true' 
    2831DefaultDirName = os.path.join("{pf}" , AppName+Dev) 
     
    343346    TEMPLATE += "AppSupportURL=%s\n" % str(AppSupportURL) 
    344347    TEMPLATE += "AppUpdatesURL=%s \n" % str(AppUpdatesURL) 
     348    if is_64bit: 
     349        TEMPLATE += "ArchitecturesInstallIn64BitMode=%s \n" % str(ArchitecturesInstallIn64BitMode) 
    345350    TEMPLATE += "ChangesEnvironment=%s \n" % str(ChangesEnvironment) 
    346351    TEMPLATE += "DefaultDirName=%s\n" % str(DefaultDirName) 
Note: See TracChangeset for help on using the changeset viewer.