Changeset 3388337 in sasview


Ignore:
Timestamp:
Apr 16, 2018 4:27:27 PM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
ticket-1094-headless
Children:
aca687a
Parents:
94f074c4
Message:

allow optional build from in-place executable run.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • run.py

    rbc8b8a1 r3388337  
    6767 
    6868 
    69 def prepare(): 
     69def prepare(rebuild=True): 
    7070    # Don't create *.pyc files 
    7171    sys.dont_write_bytecode = True 
     
    113113    # Build project if the build directory does not already exist. 
    114114    # PAK: with "update" we can always build since it is fast 
    115     if True or not os.path.exists(build_path): 
     115    if rebuild or not os.path.exists(build_path): 
    116116        import subprocess 
    117117        build_cmd = [sys.executable, "setup.py", "build", "update"] 
Note: See TracChangeset for help on using the changeset viewer.