Changeset 4c29e4d in sasview for setup.py


Ignore:
Timestamp:
May 6, 2016 12:43:26 PM (9 years ago)
Author:
Paul Kienzle <pkienzle@…>
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
Message:

remove compiler warnings from mac build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r5f6336f r4c29e4d  
    215215            os.path.join(gen_dir, "libfunc.c"), 
    216216            os.path.join(gen_dir, "librefl.c"), 
    217             os.path.join(gen_dir, "winFuncs.c"), 
    218217        ], 
    219218        include_dirs=[numpy_incl_path, gen_dir], 
     
    268267# packages.append("sas.models") 
    269268 
    270 IGNORED_FILES = [".svn"] 
    271 if not os.name=='nt': 
    272     IGNORED_FILES.extend(["gamma_win.c","winFuncs.c"]) 
    273  
    274269EXTENSIONS = [".c", ".cpp"] 
    275270 
     
    281276        if os.path.isfile(os.path.join(dir_path, f)): 
    282277            _, ext = os.path.splitext(f) 
    283             if ext.lower() in EXTENSIONS and f not in IGNORED_FILES: 
     278            if ext.lower() in EXTENSIONS: 
    284279                file_list.append(os.path.join(dir_path, f)) 
    285280        elif os.path.isdir(os.path.join(dir_path, f)) and \ 
     
    289284                if os.path.isfile(os.path.join(sub_dir, new_f)): 
    290285                    _, 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: 
    293287                        file_list.append(os.path.join(sub_dir, new_f)) 
    294288 
Note: See TracChangeset for help on using the changeset viewer.