Module: IronWorkerNG::Code::Runtime::Python
- Includes:
- Feature::Common::MergeExec::InstanceMethods, Feature::Python::MergePipDependency::InstanceMethods, Feature::Python::MergeRequirements::InstanceMethods
- Defined in:
- lib/iron_worker_ng/code/runtime/python.rb
Instance Method Summary collapse
Methods included from Feature::Python::MergeRequirements::InstanceMethods
Methods included from Feature::Python::MergePipDependency::InstanceMethods
#merge_pip, #merge_pip_dependency_fixate
Methods included from Feature::Common::MergeExec::InstanceMethods
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 |