aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/keg.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb
index c657074c8..47c55e9da 100644
--- a/Library/Homebrew/keg.rb
+++ b/Library/Homebrew/keg.rb
@@ -230,6 +230,10 @@ class Keg
path.join("lib", "python2.7", "site-packages").directory?
end
+ def python_pth_files_installed?
+ Dir["#{path}/lib/python2.7/site-packages/*.pth"].any?
+ end
+
def app_installed?
Dir["#{path}/{,libexec/}*.app"].any?
end