Blob Blame History Raw
From 80d4b998898c7ab308ae07ff7ee6e0b020f6d172 Mon Sep 17 00:00:00 2001
From: David Shea <dshea@redhat.com>
Date: Tue, 15 Dec 2015 14:01:55 -0500
Subject: [PATCH 2/4] Look for typeshed in /usr/share

---
 mypy/build.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mypy/build.py b/mypy/build.py
index 11705df..2c54225 100644
--- a/mypy/build.py
+++ b/mypy/build.py
@@ -221,7 +221,7 @@ def default_data_dir(bin_dir: str) -> str:
         return os.path.dirname(bin_dir)
     elif base == 'bin':
         # Installed to somewhere (can be under /usr/local or anywhere).
-        return os.path.join(dir, 'lib', 'mypy')
+        return os.path.join(dir, 'share')
     elif base == 'python3':
         # Assume we installed python3 with brew on os x
         return os.path.join(os.path.dirname(dir), 'lib', 'mypy')
-- 
2.6.4