Changeset f6d9791 in sasview


Ignore:
Timestamp:
Dec 5, 2011 9:20:19 AM (12 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
32122c0
Parents:
68dc52c6
Message:

Re #5 fixing mac build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/setup_mac.py

    r68dc52c6 rf6d9791  
    104104EXCLUDES = ['PyQt4', 'sip', 'QtGui'] 
    105105 
    106 # Cross-platform applications generally expect sys.argv to 
    107 # be used for opening files. This requires argv_emulation = True 
    108 argv_emulation = True 
    109 # argv_emulation is not supported for 64-bit apps 
    110 if platform.architecture()[0] == '64bit': 
    111     argv_emulation = False 
    112  
    113 OPTIONS = {'argv_emulation': argv_emulation, 
    114            'packages': ['lxml','numpy', 'scipy', 'pytz', 'encodings'], 
     106OPTIONS = {'packages': ['lxml','numpy', 'scipy', 'pytz', 'encodings'], 
    115107           'iconfile': ICON, 
    116108           'frameworks':[libxml_path], 
     
    119111           'excludes' : EXCLUDES, 
    120112           } 
     113 
     114# Cross-platform applications generally expect sys.argv to 
     115# be used for opening files. This requires argv_emulation = True 
     116# ---> argv_emulation is not supported for 64-bit apps 
     117if not platform.architecture()[0] == '64bit': 
     118    OPTIONS['argv_emulation'] = True 
     119 
    121120setup( 
    122121    app=APP, 
Note: See TracChangeset for help on using the changeset viewer.