Changeset 531a811c in sasview
- Timestamp:
- May 2, 2009 3:03:20 PM (16 years ago)
- 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:
- 12dbb14d
- Parents:
- aecab01
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/build_sansview.py
rb4390744 r531a811c 42 42 INNO = "\"c:\Program Files\Inno Setup 5\ISCC\"" 43 43 44 # Release version 0.9. 044 # Release version 0.9.1 45 45 SANSMODELS = "0.4.4" 46 46 DATALOADER = "0.2.3" … … 199 199 os.chdir(INSTALL_FOLDER) 200 200 201 def warning(): 202 """ 203 The build script will wipe out part of the site-packages. 204 Ask the user whether he wants to proceed. 205 """ 206 print "WARNING!n" 207 print "In order to build a clean version of SansView, this script" 208 print "deletes anything found under site-packages for the following" 209 print "modules:" 210 print " - danse" 211 print " - data_util" 212 print " - DataLoader" 213 print " - park" 214 print " - sans" 215 print " - sans_extension\n" 216 answer = raw_input("Are you sure you want to proceed? [Y|N]") 217 return answer.upper()=="Y" 218 201 219 if __name__ == "__main__": 202 220 import sys 203 221 204 222 print "Build script for SansView %s" % SANSVIEW 223 224 # Make sure the user really wants to proceed 225 if not warning(): 226 print "Execution canceled" 227 sys.exit() 205 228 206 229 if len(sys.argv)==1:
Note: See TracChangeset
for help on using the changeset viewer.