Changes in sasview/setup_mac.py [49cd712:018582f] in sasview


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasview/setup_mac.py

    r49cd712 r018582f  
    116116                                   CFBundleTypeRole="Shell" )],) 
    117117 
    118 #Get version - NB nasty hack. Need to find correct way to give path to installed sasview (AJJ) 
    119 import __init__ as sasviewver 
    120  
    121 VERSION = sasviewver.__version__ 
    122 APPNAME = "SasView "+VERSION 
    123 DMGNAME = "SasView-"+VERSION 
    124  
    125118APP = ['sasview.py'] 
    126119DATA_FILES += ['images','test','media'] 
     
    140133           } 
    141134setup( 
    142     name=APPNAME, 
     135    name="sasview", 
    143136    app=APP, 
    144137    data_files=DATA_FILES, 
     
    147140    setup_requires=['py2app'], 
    148141) 
    149  
    150 #Build dmg 
    151 DMG="dist/%s.dmg"%DMGNAME 
    152 if os.path.exists(DMG): os.unlink(DMG) 
    153 os.system('cd dist && ../../build_tools/dmgpack.sh "%s" "%s.app"'%(DMGNAME,APPNAME)) 
    154 os.system('chmod a+r "%s"'%DMG) 
    155  
Note: See TracChangeset for help on using the changeset viewer.