Changeset f542866 in sasview


Ignore:
Timestamp:
Sep 26, 2017 12:35:38 PM (7 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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
d5aeaa3
Parents:
3cb3a51
Message:

add 'update' option to setup.py so it doesn't clean before building

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r7152c82 rf542866  
    6666    #             os.remove(file_path) 
    6767 
    68 if os.path.exists(SASVIEW_BUILD): 
     68 
     69# Optionally clean before build. 
     70dont_clean = 'update' in sys.argv 
     71if dont_clean: 
     72    sys.argv.remove('update') 
     73elif os.path.exists(SASVIEW_BUILD): 
    6974    print("Removing existing build directory", SASVIEW_BUILD, "for a clean build") 
    7075    shutil.rmtree(SASVIEW_BUILD) 
Note: See TracChangeset for help on using the changeset viewer.