Changeset 886dde6b in sasview for sansmodels/setup.py
- Timestamp:
- Jan 6, 2012 12:06:20 PM (13 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/setup.py
r101065a r886dde6b 48 48 49 49 # Build the module name 50 srcdir = os.path.join("src", "include")50 includedir = os.path.join("src", "include") 51 51 igordir = os.path.join("src", "libigor") 52 52 c_model_dir = os.path.join("src", "c_models") … … 57 57 sys.path.append(wrapper_dir) 58 58 from wrapping import generate_wrappers 59 generate_wrappers(header_dir= srcdir,59 generate_wrappers(header_dir=includedir, 60 60 output_dir=os.path.join("src", "sans", "models"), 61 61 c_wrapper_dir=wrapper_dir) … … 87 87 88 88 model_sources = [] 89 append_file(file_list=model_sources, dir_path=srcdir)90 89 append_file(file_list=model_sources, dir_path=igordir) 91 90 append_file(file_list=model_sources, dir_path=c_model_dir) … … 114 113 package_dir = {"sans":os.path.join("src", "sans"), 115 114 "sans.models":os.path.join("src", "sans", "models"), 116 "sans.models.sans_extension": srcdir,115 "sans.models.sans_extension":includedir, 117 116 }, 118 117 package_data={'sans.models': [os.path.join('media', "*")]}, … … 124 123 Extension("sans.models.sans_extension.c_models", 125 124 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], 127 126 ), 128 127
Note: See TracChangeset
for help on using the changeset viewer.