Changeset ae3e17e in sasview


Ignore:
Timestamp:
Aug 5, 2011 4:49:46 PM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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:
814524b
Parents:
17175ad
Message:

standalone builder

Location:
calculatorview
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • calculatorview/sansviewtool.py

    r17175ad rae3e17e  
    1616import local_config 
    1717import logging 
    18  
     18import sys 
    1919class SansViewToolApp(gui_manager.ViewApp): 
    2020    """ 
     
    4343        try: 
    4444            import sans.perspectives.calculator as module     
    45             calculator_plug = module.Plugin(standalone=False) 
     45            calculator_plug = module.Plugin(standalone=True) 
    4646            self.gui.add_perspective(calculator_plug) 
    4747        except: 
    4848            logging.error("SansView: could not find Calculator plug-in module") 
    4949            logging.error(sys.exc_value)   
    50          
     50 
    5151       
    5252        # Build the GUI 
  • calculatorview/setup_exe.py

    r3be3a80 rae3e17e  
    9494    if os.path.split(f)[0].count('.svn')==0: 
    9595        data_files.append((os.path.split(f)[0], [f])) 
    96  
     96import sans.guiframe as guiframe 
     97data_files += guiframe.data_files() 
    9798# Copy the settings file for the DataLoader file extension associations 
    9899import DataLoader.readers 
     
    100101if os.path.isfile(f): 
    101102    data_files.append(('.', [f])) 
    102  
     103f = 'custom_config.py' 
     104if os.path.isfile(f): 
     105    data_files.append(('.', [f])) 
    103106 
    104107# Copying the HTML help docs 
Note: See TracChangeset for help on using the changeset viewer.