mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
Merge pull request #891 from eirnym/remove-pythonhome
Remove setting default pythonhome and pythonthreehome
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user