os.sep.join([os.environ['WORKSPACE'], 'src', 'pyutilib.*']), 'pyutilib.*', ]) pyomo_packages = [ 'pyomo.%s' % os.path.basename(x) for x in glob.glob( os.path.join(os.environ['WORKSPACE'], 'src', 'pyomo', 'pyomo', '*')) if os.path.isdir(x) ] if config == "notests": driver.perform_install('pyomo', config='pyomo_all.ini') elif config == "default": driver.perform_build('pyomo', coverage=True, omit=coverage_omit, config='pyomo_all.ini') elif config == "core": # Install print("-" * 60) print("Installing Pyomo") print("-" * 60) driver.perform_install('pyomo', config='pyomo_all.ini') print("-" * 60) print("Running 'pyomo install-extras' ...") print("-" * 60) if _run_cmd is subprocess.check_call: _run_cmd("python/bin/pyomo install-extras", shell=True) elif _run_cmd is subprocess.check_output: output = _run_cmd("python/bin/pyomo install-extras", shell=True)
# os.sep.join([os.environ['WORKSPACE'], 'src', 'pyutilib.*']), # 'pyutilib.*', #]) coverage_omit = None pyomo_packages = [ 'pyomo.%s' % os.path.basename(x) for x in glob.glob(os.path.join( os.environ['WORKSPACE'], 'src', 'pyomo', 'pyomo', '*' )) if os.path.isdir(x) ] if config == "notests": driver.perform_install('pyomo', config='pyomo_all.ini') elif config == "default": driver.perform_build('pyomo', coverage=True, omit=coverage_omit, config='pyomo_all.ini') elif config == "core": # Install print("-" * 60) print("Installing Pyomo") print("-" * 60) driver.perform_install('pyomo', config='pyomo_all.ini') print("-" * 60) print("Running 'pyomo install-extras' ...") print("-" * 60) if _run_cmd is subprocess.check_call: _run_cmd("python/bin/pyomo install-extras", shell=True) elif _run_cmd is subprocess.check_output: output = _run_cmd("python/bin/pyomo install-extras", shell=True) try: