module Dependabot::Python::NativeHelpers
Public Class Methods
clean_path(path)
click to toggle source
# File lib/dependabot/python/native_helpers.rb, line 23 def self.clean_path(path) Pathname.new(path).cleanpath.to_path end
native_helpers_root()
click to toggle source
# File lib/dependabot/python/native_helpers.rb, line 18 def self.native_helpers_root default_path = File.join(__dir__, "../../../..") ENV.fetch("DEPENDABOT_NATIVE_HELPERS_PATH", default_path) end
python_helper_path()
click to toggle source
# File lib/dependabot/python/native_helpers.rb, line 6 def self.python_helper_path clean_path(File.join(python_helpers_dir, "run.py")) end
python_helpers_dir()
click to toggle source
# File lib/dependabot/python/native_helpers.rb, line 14 def self.python_helpers_dir File.join(native_helpers_root, "python/helpers") end
python_requirements_path()
click to toggle source
# File lib/dependabot/python/native_helpers.rb, line 10 def self.python_requirements_path clean_path(File.join(python_helpers_dir, "requirements.txt")) end