Changeset 886dde6b in sasview for sansmodels/setup.py


Ignore:
Timestamp:
Jan 6, 2012 12:06:20 PM (13 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:
1b758b3
Parents:
fd080830
Message:

cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansmodels/setup.py

    r101065a r886dde6b  
    4848 
    4949# Build the module name 
    50 srcdir  = os.path.join("src", "include") 
     50includedir  = os.path.join("src", "include") 
    5151igordir = os.path.join("src", "libigor") 
    5252c_model_dir = os.path.join("src", "c_models") 
     
    5757sys.path.append(wrapper_dir) 
    5858from wrapping import generate_wrappers 
    59 generate_wrappers(header_dir=srcdir,  
     59generate_wrappers(header_dir=includedir,  
    6060                  output_dir=os.path.join("src", "sans", "models"),  
    6161                  c_wrapper_dir=wrapper_dir) 
     
    8787         
    8888model_sources = [] 
    89 append_file(file_list=model_sources, dir_path=srcdir) 
    9089append_file(file_list=model_sources, dir_path=igordir) 
    9190append_file(file_list=model_sources, dir_path=c_model_dir) 
     
    114113    package_dir = {"sans":os.path.join("src", "sans"), 
    115114                   "sans.models":os.path.join("src", "sans", "models"), 
    116                    "sans.models.sans_extension":srcdir, 
     115                   "sans.models.sans_extension":includedir, 
    117116                  }, 
    118117    package_data={'sans.models': [os.path.join('media', "*")]}, 
     
    124123        Extension("sans.models.sans_extension.c_models", 
    125124                    sources=model_sources,                  
    126                     include_dirs=[igordir, srcdir, c_model_dir, numpy_incl_path],    
     125                    include_dirs=[igordir, includedir, c_model_dir, numpy_incl_path],    
    127126                    ), 
    128127 
Note: See TracChangeset for help on using the changeset viewer.