2.6 Python Setup
FILENAME:
setup.py
The only changes to make in this file are naming. Specifically, this line:
'Composite_Strength', 'TwoPhasePrediction', 'twophaseprediction', params=params) docker_setup(
NOTE: Before running python setup.py
, please make sure that all the files are created and configured correctly. If not, save yourself hours of troubleshooting by going through the other file tutorials.
import sys
from bq.setup.module_setup import python_setup, docker_setup, require, read_config
def setup(params, *args, **kw):
'PythonScriptWrapper.py', params=params)
python_setup('Composite_Strength', 'TwoPhasePrediction', 'twophaseprediction', params=params)
docker_setup(
if __name__ =="__main__":
= read_config('runtime-bisque.cfg')
params if len(sys.argv)>1:
= eval (sys.argv[1])
params sys.exit(setup(params))