Changeset a7b774d in sasview


Ignore:
Timestamp:
Nov 18, 2011 12:02:59 PM (13 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:
b4f3206
Parents:
d6bc28cf
Message:

Re #2 Add run script for linux/osx

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sansview/sansview.py

    r709b1dc ra7b774d  
    2828import logging 
    2929 
     30def run(): 
     31    """ 
     32        Run function for linux/OSX installations 
     33    """ 
     34    module_path,_ = os.path.split(__file__) 
     35    os.system("cd %s;python sansview.py" % module_path) 
    3036 
    3137class SansViewApp(gui_manager.ViewApp): 
  • setup.py

    rd6bc28cf ra7b774d  
    203203    ext_modules = ext_modules, 
    204204    install_requires = required, 
     205    entry_points = { 
     206                    'console_scripts':[ 
     207                                       "sansview = sans.sansview.sansview:run", 
     208                                       ] 
     209                    } 
    205210    )    
Note: See TracChangeset for help on using the changeset viewer.