Sha256: 042f63eeb29f2b50ae676e1bdf0c1d32b37f62b279741268bfecbd3eba6f1e18

Contents?: true

Size: 707 Bytes

Versions: 7

Compression:

Stored size: 707 Bytes

Contents

require 'iron_worker_ng/feature/python/merge_pip_dependency'
require 'iron_worker_ng/feature/python/merge_pip'
require 'iron_worker_ng/feature/python/merge_requirements'

module IronWorkerNG
  module Code
    module Runtime
      module Python
        include IronWorkerNG::Feature::Common::MergeExec::InstanceMethods
        include IronWorkerNG::Feature::Python::MergePipDependency::InstanceMethods
        include IronWorkerNG::Feature::Python::MergeRequirements::InstanceMethods

        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
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
iron_worker_ng-1.6.10 lib/iron_worker_ng/code/runtime/python.rb
iron_worker_ng-1.6.9 lib/iron_worker_ng/code/runtime/python.rb
iron_worker_ng-1.6.8 lib/iron_worker_ng/code/runtime/python.rb
iron_worker_ng-1.6.7 lib/iron_worker_ng/code/runtime/python.rb
iron_worker_ng-1.6.6 lib/iron_worker_ng/code/runtime/python.rb
iron_worker_ng-1.6.5 lib/iron_worker_ng/code/runtime/python.rb
iron_worker_ng-1.6.4 lib/iron_worker_ng/code/runtime/python.rb