class Jumpstarter::Pip::Install

******************#

Instructions   #

******************#

Public Instance Methods

run!() click to toggle source
# File lib/jumpstarter_core/pip.rb, line 7
def run!()
    # Check if pip is installed
    if not Jumpstarter::Pip.installed!
        # Install PIP
        CommandRunner.execute(
            command: Commands::Pip::Install,
            error: nil
        )
    end
    # pip is installed
    CommandRunner.execute(
        command: "pip3 install #{@package}",
        error: nil
    )
    return true
end