Changeset 481ad37 in sasview for DataLoader


Ignore:
Timestamp:
May 3, 2010 9:04:29 AM (15 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:
db7b92e
Parents:
569ad15
Message:

DataLoader?: update setup.py to allow install with —prefix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DataLoader/setup.py

    rd84f6a9 r481ad37  
    66# Then build and install the modules 
    77from distutils.core import setup, Extension 
    8 from distutils.sysconfig import get_python_lib 
    98from numpy.distutils.misc_util import get_numpy_include_dirs 
    109numpy_incl_path = os.path.join(get_numpy_include_dirs()[0], "numpy") 
     
    1817    package_dir = {"DataLoader":".", 
    1918                   "DataLoader.extensions":"extensions"}, 
    20     data_files=[(os.path.join(get_python_lib(),"DataLoader","readers"), ["readers/defaults.xml"])], 
     19    package_data={"DataLoader.readers": ['defaults.xml']}, 
    2120    packages = ["DataLoader","DataLoader.readers","DataLoader.extensions"], 
    2221     
Note: See TracChangeset for help on using the changeset viewer.