Changeset 42c974f in sasview for sansmodels


Ignore:
Timestamp:
Aug 10, 2011 10:42:08 AM (13 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
92df66f8
Parents:
f578ad4
Message:

remove media as package_dir and make it package_data remove test as a package_dir

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansmodels/src/setup.py

    rc089120 r42c974f  
    9292    # Use the pure python modules 
    9393    package_dir = {"sans.models.sans_extension":"sans/models/c_extensions", 
    94                    "sans.models.media":"sans/models/media"}, 
    95     package_data={'sans.models.media': ['*.gif','*.jpg','*.png','*.html']}, 
    96     packages = ["sans","sans.models","sans.models.test", 
    97                 "sans.models.sans_extension","sans.models.pyre", 
    98                 "sans.models.media"], 
     94                  }, 
     95    package_data={'sans.models': [os.path.join('media', "*")]}, 
     96    packages = ["sans","sans.models", 
     97                "sans.models.sans_extension","sans.models.pyre",], 
    9998     
    10099    ext_modules = [ Extension("sans.models.sans_extension.c_models", 
Note: See TracChangeset for help on using the changeset viewer.