Changeset 7506
- Timestamp:
- Sep 10, 2009, 2:43:21 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
create_distribution.py
r7489 r7506 34 34 from anuga.utilities.data_audit_wrapper import IP_verified 35 35 36 36 37 if platform == 'win32': 37 38 msg = 'This script is not written for Windows.'+\ … … 153 154 # Create ANUGA dir for NSI installer 154 155 try: 155 os.mkdir('files/%s' % anuga_release_name) 156 os.mkdir('files/%s' % anuga_release_name) 157 os.mkdir('files/anuga_viewer') 158 os.mkdir('files/prereqs') 159 os.mkdir('files/prereqs/netcdf') 156 160 except: 157 161 pass 158 159 162 160 163 # and unpack ANUGA into it … … 165 168 system(s) 166 169 167 168 170 # Must be replaced by local folder to where SourceForge version is downloaded 169 anuga_viewer_folder = 'anuga_viewer -1.0beta_7163'171 anuga_viewer_folder = 'anuga_viewer' 170 172 python = 'python-2.5.4.msi' 171 numpy = ' Numeric-23.8.2.win32-py2.5.exe'172 scientific_python = 'ScientificPython-2. 7.8.win32-py2.5.exe'173 netcdf_folder = 'net -cdf-3.6.1-win32'173 numpy = 'numpy-1.3.0-win32-superpack-python2.5.exe' 174 scientific_python = 'ScientificPython-2.9.0.win32-py2.5.exe' 175 netcdf_folder = 'netcdf' 174 176 mingw = 'MinGW-5.1.4.exe' 175 177 176 178 # Generate NSI file 177 179 create_config(revision, 178 'https://datamining.anu.edu.au/anuga',179 180 anuga_release_name, 180 181 anuga_viewer_folder, … … 185 186 mingw) 186 187 187 188 188 # Package up files necessary to compile the installer on Windows and 189 189 # move to release area … … 210 210 211 211 # Copy actual files used by Windows installer across 212 s = 'cd files; cp -r %s %s/windows_installer/files' % (anuga_release_name, 213 release_dir) 212 s = 'cd files; cp -r * %s/windows_installer/files' % release_dir 214 213 print s 215 214 system(s) … … 352 351 353 352 #system('scp %s/*.pdf onielsen@cyclone:/d/cit/1/cit/risk_assessment_methods_project/downloads/ANUGA_install' %release_dir)# 354 355 356 357 353 358 354 print 'Remember to update'
Note: See TracChangeset
for help on using the changeset viewer.