Skip to content

Commit

Permalink
Merge pull request #17087 from cho-m/keg-python2.7-refs-deprecate
Browse files Browse the repository at this point in the history
keg: comment to odeprecated some Python 2 related methods
  • Loading branch information
MikeMcQuaid authored Apr 15, 2024
2 parents 03bb1ed + 4c0a1c7 commit 40d2f5c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Library/Homebrew/keg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -361,15 +361,6 @@ def plist_installed?
!Dir["#{path}/*.plist"].empty?
end

def python_site_packages_installed?
(path/"lib/python2.7/site-packages").directory?
end

sig { returns(T::Boolean) }
def python_pth_files_installed?
!Dir["#{path}/lib/python2.7/site-packages/*.pth"].empty?
end

sig { returns(T::Array[Pathname]) }
def apps
app_prefix = optlinked? ? opt_record : path
Expand Down

0 comments on commit 40d2f5c

Please sign in to comment.