Example #1
0
def run(buildenv):

    if buildenv['version'] == 'debug':
        python = buildenv['python_d']

    if buildenv['version'] == 'release':
        python = buildenv['python']

    hardhatlib.executeCommandNoCapture( buildenv, info['name'],
     [python, "Chandler.py"], "Running Chandler" )
Example #2
0
def run(buildenv):

    if buildenv['version'] == 'debug':
        python = buildenv['python_d']

    if buildenv['version'] == 'release':
        python = buildenv['python']

    hardhatlib.executeCommandNoCapture(buildenv, info['name'],
                                       [python, "Chandler.py"],
                                       "Running Chandler")
Example #3
0
            hardhatlib.distribute(buildenv, curmodulepath, buildVersionArg)

        if opt == "-e" or opt == "--env":
            buildenv['showenv'] = 1

        if opt == "-g" or opt == "--docs":
            hardhatlib.generateDocs(buildenv, curmodulepath)

        if opt == "-h" or opt == "--help":
            usage()

        if opt == "-i" or opt == "--interact":
            py = buildenv['python']
            if( buildenv['version'] == 'debug' ):
                py = buildenv['python_d']
            hardhatlib.executeCommandNoCapture(buildenv, "Interactive",
             [py], "Interactive session")

        if opt == "-j" or opt == "--epydoc":
            hardhatlib.epydoc(buildenv, None, None, arg, *args)

        if opt == "-l" or opt == "--lint":
            args_used = True  # we're going to be using the leftover args
            hardhatlib.lint(buildenv, args)

        if opt == "-n" or opt == "--noprompt":
            buildenv['interactive'] = False

        if opt == "-o" or opt == "--output":
            buildenv['outputdir'] = arg

        if opt == "-r" or opt == "--release":