Changeset 5e56f89 in sasview for setup.py


Ignore:
Timestamp:
Dec 22, 2011 3:45:43 PM (8 years ago)
Author:
Jae Cho <jhjcho@…>
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:
22b1d38
Parents:
494f151
Message:

trying to fix linux problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r494f151 r5e56f89  
    4949if os.path.isdir(sans_dir): 
    5050    f_path = os.path.join(sans_dir, "sansview.log") 
    51     try: 
     51    if sys.platform =='darwin' or sys.platform == 'win32': 
    5252        if os.path.isfile(f_path): 
    5353            os.remove(f_path) 
     
    6161                    file_path =  os.path.join(f_path, file) 
    6262                    os.remove(file_path) 
    63     except: 
    64         pass 
     63 
    6564 
    6665enable_openmp = True                     
Note: See TracChangeset for help on using the changeset viewer.