Module: IronWorkerNG::Code::Runtime::Python

Instance Method Summary collapse

Methods included from Feature::Python::MergeRequirements::InstanceMethods

#merge_requirements

Methods included from Feature::Python::MergePipDependency::InstanceMethods

#merge_pip, #merge_pip_dependency_fixate

Methods included from Feature::Common::MergeExec::InstanceMethods

#merge_exec

Instance Method Details

#runtime_run_code(local, params) ⇒ Object



13
14
15
16
17
# File 'lib/iron_worker_ng/code/runtime/python.rb', line 13

def runtime_run_code(local, params)
  <<RUN_CODE
PATH=`pwd`/__pips__/__bin__:$PATH PYTHONPATH=`pwd`/__pips__ python -u #{File.basename(@exec.path)} #{params}
RUN_CODE
end