Changeset 59d94b3 in sasmodels for sasmodels/__init__.py


Ignore:
Timestamp:
Jun 27, 2016 5:38:23 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:
117090a
Parents:
500128b
Message:

include py and image files for builtin models

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/__init__.py

    rbd4ed1b r59d94b3  
    3636        return target_path, files 
    3737 
     38    # Place the source for the model tree in the distribution.  Minimally we 
     39    # need the c and cl files for running on OpenCL.  Need the py files so 
     40    # users can easily copy existing models.  Need the img files so that we 
     41    # can build model docs on the fly, including images. 
    3842    return_list = [ 
    3943        expand_patterns([], ['*.c', '*.cl', 'convert.json']), 
    40         expand_patterns(['models'], ['*.c']), 
     44        expand_patterns(['models'], ['*.py', '*.c']), 
    4145        expand_patterns(['models', 'lib'], ['*.c']), 
     46        expand_patterns(['models', 'img'], ['*.*']), 
    4247        ] 
    4348    return return_list 
Note: See TracChangeset for help on using the changeset viewer.