- Timestamp:
- Feb 18, 2015 9:48:12 AM (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:
- dea7cb4
- Parents:
- 6f82ba1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
setup.py
r25f223b r0e4e554 260 260 model_dir = os.path.join("src", "sas","models") 261 261 262 if os.path.isdir(wrapper_dir):263 for file in os.listdir(wrapper_dir): 264 file_path = os.path.join(wrapper_dir, file)265 os.remove(file_path)266 else:267 os.makedirs(wrapper_dir)268 sys.path.append(os.path.join("src", "sas", "models", "c_extension", "python_wrapper"))269 from wrapping import generate_wrappers270 generate_wrappers(header_dir = includedir, 271 output_dir = model_dir,272 c_wrapper_dir = wrapper_dir)262 #if os.path.isdir(wrapper_dir): 263 # for file in os.listdir(wrapper_dir): 264 # file_path = os.path.join(wrapper_dir, file) 265 # os.remove(file_path) 266 #else: 267 # os.makedirs(wrapper_dir) 268 #sys.path.append(os.path.join("src", "sas", "models", "c_extension", "python_wrapper")) 269 #from wrapping import generate_wrappers 270 #generate_wrappers(header_dir = includedir, 271 # output_dir = model_dir, 272 # c_wrapper_dir = wrapper_dir) 273 273 274 274 IGNORED_FILES = [".svn"] … … 299 299 model_sources = [] 300 300 append_file(file_list=model_sources, dir_path=igordir) 301 append_file(file_list=model_sources, dir_path=c_model_dir)302 append_file(file_list=model_sources, dir_path=wrapper_dir)301 #append_file(file_list=model_sources, dir_path=c_model_dir) 302 #append_file(file_list=model_sources, dir_path=wrapper_dir) 303 303 304 304 smear_sources = [] … … 319 319 320 320 c_models = [ 321 Extension("sas.models.sas_extension.c_models",322 sources=model_sources,323 include_dirs=[324 igordir, includedir, c_model_dir, numpy_incl_path, cephes_dir325 ],326 ),321 #Extension("sas.models.sas_extension.c_models", 322 # sources=model_sources, 323 # include_dirs=[ 324 # igordir, includedir, c_model_dir, numpy_incl_path, cephes_dir 325 # ], 326 #), 327 327 328 328 # Smearer extension … … 356 356 ext_modules.extend(c_models) 357 357 358 packages.append("sas.models") 358 359 # SasView 359 360
Note: See TracChangeset
for help on using the changeset viewer.