Sha256: 903feb0d83e9adb58a95c776193db2ec9fdcf083362277a0b3a32bc02ea175c3
Contents?: true
Size: 367 Bytes
Versions: 7
Compression:
Stored size: 367 Bytes
Contents
module LearnOpen module DependencyInstallers class PipInstaller < BaseInstaller def self.detect(lesson, location) File.exists?("#{lesson.to_path}/requirements.txt") end def run io.puts "Installing pip dependencies..." system_adapter.run_command("python -m pip install -r requirements.txt") end end end end
Version data entries
7 entries across 7 versions & 1 rubygems