Changeset 5b78566 in sasview
- Timestamp:
- Apr 28, 2010 11:33:33 AM (15 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:
- 017ec0b7
- Parents:
- 3d01a1e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/setup_exe.py
r3d01a1e r5b78566 17 17 18 18 # When using the SansView build script, we need to be able to pass 19 # an extra path to be added to the python path. 19 # an extra path to be added to the python path. The extra arguments 20 # should be removed from the list so that the setup processing doesn't 21 # fail. 20 22 try: 21 if sys.argv.count('--extrapath'): 22 path_flag_idx = sys.argv.index('--extrapath') 23 extra_path = sys.argv[path_flag_idx+1] 24 sys.path.insert(0, extra_path) 23 if sys.argv.count('--extrapath'): 24 path_flag_idx = sys.argv.index('--extrapath') 25 extra_path = sys.argv[path_flag_idx+1] 26 sys.path.insert(0, extra_path) 27 del sys.argv[path_flag_idx+1] 28 sys.argv.remove('--extrapath') 25 29 except: 26 print "Error processing extra python path needed to build SansView"30 print "Error processing extra python path needed to build SansView\n %s" % sys.exc_value 27 31 28 32 from distutils.core import setup
Note: See TracChangeset
for help on using the changeset viewer.