Changeset 12c4933 in sasview


Ignore:
Timestamp:
Sep 16, 2013 10:46:37 AM (10 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:
16cd735
Parents:
5ea34ec
Message:

Fix RHEL6 install

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansguiframe/src/sans/guiframe/CategoryInstaller.py

    r657e52c r12c4933  
    5151        cat_file = "default_categories.p" 
    5252        app_dir = sys.path[0] 
     53 
     54        #TODO: Fix for RPM installation. This method should be cleaned up. 
     55        path = os.path.join(app_dir, 'sans', 'sansview', cat_file) 
     56        if os.path.isfile(path): 
     57            return path 
     58 
    5359        if os.path.isfile(app_dir): 
    5460            app_dir = os.path.dirname(app_dir) 
Note: See TracChangeset for help on using the changeset viewer.