Merge pull request #891 from eirnym/remove-pythonhome

Remove setting default pythonhome and pythonthreehome
This commit is contained in:
Yee Cheng Chin
2019-05-14 01:16:51 -07:00
committed by GitHub
-5
View File
@@ -22,15 +22,12 @@ if exists("&pythondll") && exists("&pythonhome")
if filereadable("/usr/local/Frameworks/Python.framework/Versions/2.7/Python")
" Homebrew python 2.7
set pythondll=/usr/local/Frameworks/Python.framework/Versions/2.7/Python
set pythonhome=/usr/local/Frameworks/Python.framework/Versions/2.7
elseif filereadable("/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python")
" MacPorts python 2.7
set pythondll=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python
set pythonhome=/opt/local/Library/Frameworks/Python.framework/Versions/2.7
elseif filereadable("/Library/Frameworks/Python.framework/Versions/2.7/Python")
" https://www.python.org/downloads/mac-osx/
set pythondll=/Library/Frameworks/Python.framework/Versions/2.7/Python
set pythonhome=/Library/Frameworks/Python.framework/Versions/2.7
endif
endif
@@ -43,11 +40,9 @@ if exists("&pythonthreedll") && exists("&pythonthreehome") &&
if filereadable("/opt/local/Library/Frameworks/Python.framework/Versions/3.7/Python")
" MacPorts python 3.7
set pythonthreedll=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/Python
set pythonthreehome=/opt/local/Library/Frameworks/Python.framework/Versions/3.7
elseif filereadable("/Library/Frameworks/Python.framework/Versions/3.7/Python")
" https://www.python.org/downloads/mac-osx/
set pythonthreedll=/Library/Frameworks/Python.framework/Versions/3.7/Python
set pythonthreehome=/Library/Frameworks/Python.framework/Versions/3.7
endif
endif