Sha256: 6a6a464a5059c7871abbf18eb965d5329ea9f509def94905ee1248e031301361

Contents?: true

Size: 561 Bytes

Versions: 13

Compression:

Stored size: 561 Bytes

Contents

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

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

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
iron_worker_ng-1.3.0 lib/iron_worker_ng/code/runtime/python.rb
iron_worker_ng-1.2.0 lib/iron_worker_ng/code/runtime/python.rb
iron_worker_ng-1.1.0 lib/iron_worker_ng/code/runtime/python.rb
iron_worker_ng-1.0.4 lib/iron_worker_ng/code/runtime/python.rb
iron_worker_ng-1.0.3 lib/iron_worker_ng/code/runtime/python.rb
iron_worker_ng-1.0.2 lib/iron_worker_ng/code/runtime/python.rb
iron_worker_ng-1.0.1 lib/iron_worker_ng/code/runtime/python.rb
iron_worker_ng-1.0.0 lib/iron_worker_ng/code/runtime/python.rb
iron_worker_ng-0.16.4 lib/iron_worker_ng/code/runtime/python.rb
iron_worker_ng-0.16.3 lib/iron_worker_ng/code/runtime/python.rb
iron_worker_ng-0.16.2 lib/iron_worker_ng/code/runtime/python.rb
iron_worker_ng-0.16.1 lib/iron_worker_ng/code/runtime/python.rb
iron_worker_ng-0.16.0 lib/iron_worker_ng/code/runtime/python.rb