Changeset 49cd712 in sasview for sasview


Ignore:
Timestamp:
Jul 26, 2015 3:47:08 PM (9 years ago)
Author:
ajj
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:
a003f3c
Parents:
66b42f6
Message:

Hack to get sasview version in setup_mac.py script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasview/setup_mac.py

    r66b42f6 r49cd712  
    116116                                   CFBundleTypeRole="Shell" )],) 
    117117 
    118 #Get version 
    119 import sasview 
    120 VERSION = sasview.__version__ 
     118#Get version - NB nasty hack. Need to find correct way to give path to installed sasview (AJJ) 
     119import __init__ as sasviewver 
     120 
     121VERSION = sasviewver.__version__ 
    121122APPNAME = "SasView "+VERSION 
    122123DMGNAME = "SasView-"+VERSION 
Note: See TracChangeset for help on using the changeset viewer.