Changes in sasview/setup_mac.py [018582f:49cd712] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasview/setup_mac.py
r018582f r49cd712 116 116 CFBundleTypeRole="Shell" )],) 117 117 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 118 125 APP = ['sasview.py'] 119 126 DATA_FILES += ['images','test','media'] … … 133 140 } 134 141 setup( 135 name= "sasview",142 name=APPNAME, 136 143 app=APP, 137 144 data_files=DATA_FILES, … … 140 147 setup_requires=['py2app'], 141 148 ) 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.