- Timestamp:
- May 6, 2016 12:43:26 PM (9 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:
- b523c0e
- Parents:
- 6a698c0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
setup.py
r5f6336f r4c29e4d 215 215 os.path.join(gen_dir, "libfunc.c"), 216 216 os.path.join(gen_dir, "librefl.c"), 217 os.path.join(gen_dir, "winFuncs.c"),218 217 ], 219 218 include_dirs=[numpy_incl_path, gen_dir], … … 268 267 # packages.append("sas.models") 269 268 270 IGNORED_FILES = [".svn"]271 if not os.name=='nt':272 IGNORED_FILES.extend(["gamma_win.c","winFuncs.c"])273 274 269 EXTENSIONS = [".c", ".cpp"] 275 270 … … 281 276 if os.path.isfile(os.path.join(dir_path, f)): 282 277 _, ext = os.path.splitext(f) 283 if ext.lower() in EXTENSIONS and f not in IGNORED_FILES:278 if ext.lower() in EXTENSIONS: 284 279 file_list.append(os.path.join(dir_path, f)) 285 280 elif os.path.isdir(os.path.join(dir_path, f)) and \ … … 289 284 if os.path.isfile(os.path.join(sub_dir, new_f)): 290 285 _, ext = os.path.splitext(new_f) 291 if ext.lower() in EXTENSIONS and\ 292 new_f not in IGNORED_FILES: 286 if ext.lower() in EXTENSIONS: 293 287 file_list.append(os.path.join(sub_dir, new_f)) 294 288
Note: See TracChangeset
for help on using the changeset viewer.