Changeset 820df88 in sasview
- Timestamp:
- Sep 10, 2014 5:57:22 PM (10 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:
- 9939b16
- Parents:
- 9f32c57
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
setup.py
r9f32c57 r820df88 303 303 smearer_sources.append(os.path.join(igordir, "winFuncs.c")) 304 304 geni_sources.append(os.path.join(igordir, "winFuncs.c")) 305 no_ext = [] 306 #ext_modules.extend( [ Extension("sans.models.sans_extension.c_models", 307 no_ext.extend( [ Extension("sans.models.sans_extension.c_models", 308 sources=model_sources, 309 include_dirs=[igordir, includedir, 310 c_model_dir, numpy_incl_path, cephes_dir], 311 ), 312 # Smearer extension 313 Extension("sans.models.sans_extension.smearer", 314 sources = smearer_sources, 315 include_dirs=[igordir, 316 smear_dir, numpy_incl_path], 317 ), 305 306 c_models = [ 307 Extension("sans.models.sans_extension.c_models", 308 sources=model_sources, 309 include_dirs=[ 310 igordir, includedir, c_model_dir, numpy_incl_path, cephes_dir 311 ], 312 ), 313 314 # Smearer extension 315 Extension("sans.models.sans_extension.smearer", 316 sources = smearer_sources, 317 include_dirs=[igordir, smear_dir, numpy_incl_path], 318 ), 318 319 319 320 sources = [os.path.join(smear_dir,321 322 os.path.join(smear_dir,323 "smearer2d_helper.cpp"),],324 325 320 Extension("sans.models.sans_extension.smearer2d_helper", 321 sources = [ 322 os.path.join(smear_dir, "smearer2d_helper_module.cpp"), 323 os.path.join(smear_dir, "smearer2d_helper.cpp"), 324 ], 325 include_dirs=[smear_dir, numpy_incl_path], 326 ), 326 327 327 328 sources = [os.path.join(gen_dir,329 330 os.path.join(gen_dir,331 "sld2i.cpp"),332 os.path.join(c_model_dir,333 "libfunc.c"),334 os.path.join(c_model_dir,335 "librefl.c"),],336 include_dirs=[gen_dir, includedir, 337 c_model_dir, numpy_incl_path], 338 ) 339 ])340 328 Extension("sans.models.sans_extension.sld2i", 329 sources = [ 330 os.path.join(gen_dir, "sld2i_module.cpp"), 331 os.path.join(gen_dir, "sld2i.cpp"), 332 os.path.join(c_model_dir, "libfunc.c"), 333 os.path.join(c_model_dir, "librefl.c"), 334 ], 335 include_dirs=[gen_dir, includedir, c_model_dir, numpy_incl_path], 336 ), 337 ] 338 339 # Comment out the following to avoid rebuilding all the models 340 ext_modules.extend(c_models) 341 341 342 # SasView 342 343
Note: See TracChangeset
for help on using the changeset viewer.