Changes in sasview/setup_mac.py [49cd712:018582f] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasview/setup_mac.py
r49cd712 r018582f 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 sasviewver120 121 VERSION = sasviewver.__version__122 APPNAME = "SasView "+VERSION123 DMGNAME = "SasView-"+VERSION124 125 118 APP = ['sasview.py'] 126 119 DATA_FILES += ['images','test','media'] … … 140 133 } 141 134 setup( 142 name= APPNAME,135 name="sasview", 143 136 app=APP, 144 137 data_files=DATA_FILES, … … 147 140 setup_requires=['py2app'], 148 141 ) 149 150 #Build dmg151 DMG="dist/%s.dmg"%DMGNAME152 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.