Changeset bc8b8a1 in sasview


Ignore:
Timestamp:
Nov 22, 2017 12:23:46 PM (12 months ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, config-error, py37-all, py37-sascalc, py37-sasgui, pytest, simplify-c-build, ticket-1015-quick-fix, ticket-1094-headless, ticket-1111, ticket-1205-fit-weights, ticket-818, ticket885, unittest-saveload, win64bit_conda_vm
Children:
bc4f5bb
Parents:
237f35e
git-author:
Paul Kienzle <pkienzle@…> (11/22/17 11:41:38)
git-committer:
Paul Kienzle <pkienzle@…> (11/22/17 12:23:46)
Message:

use tinycc compiler from run.py on windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • run.py

    r237f35e rbc8b8a1  
    115115    if True or not os.path.exists(build_path): 
    116116        import subprocess 
     117        build_cmd = [sys.executable, "setup.py", "build", "update"] 
     118        if os.name == 'nt': 
     119            build_cmd.append('--compiler=tinycc') 
     120        # need shell=True on windows to keep console box from popping up 
     121        shell = (os.name == 'nt') 
    117122        with cd(root): 
    118             subprocess.call((sys.executable, "setup.py", "build", "update"), shell=False) 
     123            subprocess.call(build_cmd, shell=shell) 
    119124 
    120125    # Put the source trees on the path 
Note: See TracChangeset for help on using the changeset viewer.