Changeset 3d01a1e in sasview


Ignore:
Timestamp:
Apr 28, 2010 8:49:08 AM (14 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
5b78566
Parents:
dee3d27
Message:

sansview: added option to setup script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/setup_exe.py

    rd8731ca r3d01a1e  
    1515 
    1616import os, sys 
     17 
     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. 
     20try: 
     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) 
     25except: 
     26        print "Error processing extra python path needed to build SansView" 
    1727 
    1828from distutils.core import setup 
Note: See TracChangeset for help on using the changeset viewer.