Changeset e4193d9 in sasview
- Timestamp:
- Jul 11, 2009 3:07:53 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:
- 2c4b289
- Parents:
- cee6867
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
prview/build_prview.py
rceb89ac re4193d9 225 225 prepare(install_folder="prview") 226 226 checkout(True) 227 # Create run script 228 f = open("run_prview.py", 'w') 229 buff = "import os, sys, site\n" 230 buff += "if __name__ == \"__main__\":\n" 231 buff += " sys.path.append(os.path.join(os.getcwd(),\"prview-%s\"))\n" % PRVIEW 232 buff += " site.addsitedir(os.path.join(os.getcwd(),\"prview-%s\"))\n" % PRVIEW 233 buff += " os.chdir(\"prview-%s\")\n" % PRVIEW 234 buff += " import sansview\n" 235 buff += " sansview.SansView()\n" 236 f.write(buff) 237 f.close() 227 238 228 239 elif len(sys.argv)>1:
Note: See TracChangeset
for help on using the changeset viewer.