Changeset 237f35e in sasview for run.py


Ignore:
Timestamp:
Nov 22, 2017 12:23:32 PM (6 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
bc8b8a1
Parents:
1a3602d
git-author:
Paul Kienzle <pkienzle@…> (11/22/17 11:28:09)
git-committer:
Paul Kienzle <pkienzle@…> (11/22/17 12:23:32)
Message:

rebuild C code during run.py if it has changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • run.py

    r0225a3f r237f35e  
    112112 
    113113    # Build project if the build directory does not already exist. 
    114     if not os.path.exists(build_path): 
     114    # PAK: with "update" we can always build since it is fast 
     115    if True or not os.path.exists(build_path): 
    115116        import subprocess 
    116117        with cd(root): 
    117             subprocess.call((sys.executable, "setup.py", "build"), shell=False) 
     118            subprocess.call((sys.executable, "setup.py", "build", "update"), shell=False) 
    118119 
    119120    # Put the source trees on the path 
Note: See TracChangeset for help on using the changeset viewer.