Changeset 79d5b6c in sasview
- Timestamp:
- Oct 9, 2013 11:22:27 AM (11 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:
- cc3066a
- Parents:
- 230f479
- Files:
-
- 161 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
setup.py
rb221176 r79d5b6c 193 193 # Sans models 194 194 includedir = os.path.join("src", "sans", "models", "include") 195 igordir = os.path.join("src", "sans", "models", " src", "libigor")196 cephes_dir = os.path.join("src", "sans", "models", " src", "cephes")197 c_model_dir = os.path.join("src", "sans", "models", " src", "c_models")198 smear_dir = os.path.join("src", "sans", "models", " src", "c_smearer")199 gen_dir = os.path.join("src", "sans", "models", " src", "c_gen")200 wrapper_dir = os.path.join("src", "sans", "models", " src", "python_wrapper", "generated")195 igordir = os.path.join("src", "sans", "models", "c_extension", "libigor") 196 cephes_dir = os.path.join("src", "sans", "models", "c_extension", "cephes") 197 c_model_dir = os.path.join("src", "sans", "models", "c_extension", "c_models") 198 smear_dir = os.path.join("src", "sans", "models", "c_extension", "c_smearer") 199 gen_dir = os.path.join("src", "sans", "models", "c_extension", "c_gen") 200 wrapper_dir = os.path.join("src", "sans", "models", "c_extension", "python_wrapper", "generated") 201 201 model_dir = os.path.join("src", "sans","models") 202 202 … … 207 207 else: 208 208 os.makedirs(wrapper_dir) 209 sys.path.append(os.path.join("src", "sans", "models", " src", "python_wrapper"))209 sys.path.append(os.path.join("src", "sans", "models", "c_extension", "python_wrapper")) 210 210 from wrapping import generate_wrappers 211 211 generate_wrappers(header_dir = includedir, … … 246 246 smear_sources = [] 247 247 append_file(file_list=smear_sources, dir_path=smear_dir) 248 249 250 #package_dir["sans.models"] = model_dir251 #package_dir["sans.models.sans_extension"] = os.path.join("src", "sans", "models", "sans_extension")252 #package_data['sans.models'] = [os.path.join('media', "*.*")]253 #package_data['sans.models'] += [os.path.join('media','img', "*.*")]254 #packages.extend(["sans","sans.models","sans.models.sans_extension"])255 #256 #smearer_sources = [os.path.join(smear_dir, "smearer.cpp"),257 # os.path.join(smear_dir, "smearer_module.cpp")]258 #geni_sources = [os.path.join(gen_dir, "sld2i_module.cpp")]259 #if os.name=='nt':260 # smearer_sources.append(os.path.join(igordir, "winFuncs.c"))261 # geni_sources.append(os.path.join(igordir, "winFuncs.c"))262 #ext_modules.extend( [ Extension("sans.models.sans_extension.c_models",263 # sources=model_sources,264 # include_dirs=[igordir, includedir,265 # c_model_dir, numpy_incl_path, cephes_dir],266 # ),267 # # Smearer extension268 # Extension("sans.models.sans_extension.smearer",269 # sources = smearer_sources,270 # include_dirs=[igordir,271 # smear_dir, numpy_incl_path],272 # ),273 #274 # Extension("sans.models.sans_extension.smearer2d_helper",275 # sources = [os.path.join(smear_dir,276 # "smearer2d_helper_module.cpp"),277 # os.path.join(smear_dir,278 # "smearer2d_helper.cpp"),],279 # include_dirs=[smear_dir, numpy_incl_path],280 # ),281 #282 # Extension("sans.models.sans_extension.sld2i",283 # sources = [os.path.join(gen_dir,284 # "sld2i_module.cpp"),285 # os.path.join(gen_dir,286 # "sld2i.cpp"),287 # os.path.join(c_model_dir,288 # "libfunc.c"),289 # os.path.join(c_model_dir,290 # "librefl.c"),],291 # include_dirs=[gen_dir, includedir,292 # c_model_dir, numpy_incl_path],293 # )294 # ] )295 248 296 249 # SasView
Note: See TracChangeset
for help on using the changeset viewer.