Changeset 6708a6a in sasmodels for sascomp


Ignore:
Timestamp:
May 31, 2016 8:42:26 AM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
15e74ad
Parents:
c7118f4
Message:

tinycc no longer runs in-place, so add tinycc build directory to the python path

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sascomp

    r5efe850 r6708a6a  
    1010    sasmodels = os.path.dirname(os.path.realpath(__file__)) 
    1111    root = os.path.dirname(sasmodels) 
    12     sasview=glob.glob(os.path.join(root, 'sasview', 'build', 'lib.*' )) 
     12    sasview=glob.glob(os.path.join(root, 'sasview', 'build', 'lib*' )) 
    1313    sys.path.insert(0, os.path.join(root, 'bumps')) 
    1414    sys.path.insert(0, os.path.join(root, 'periodictable')) 
    15     sys.path.insert(0, os.path.join(root, 'tinycc')) 
     15    sys.path.insert(0, os.path.join(root, 'tinycc', 'build', 'lib')) 
    1616    if sasview:  # glob returns a list 
    1717        sys.path.insert(0, sasview[0]) 
Note: See TracChangeset for help on using the changeset viewer.