Merge pull request #1132 from ychin/macvim-python3.9-libs

Update python3 framework detection to use 3.9
This commit is contained in:
Yee Cheng Chin
2020-12-09 18:56:58 -08:00
committed by GitHub
+5 -5
View File
@@ -32,12 +32,12 @@ endif
" or an installation from python.org:
if exists("&pythonthreedll") && exists("&pythonthreehome") &&
\ !filereadable(&pythonthreedll)
if filereadable("/opt/local/Library/Frameworks/Python.framework/Versions/3.8/Python")
" MacPorts python 3.8
set pythonthreedll=/opt/local/Library/Frameworks/Python.framework/Versions/3.8/Python
elseif filereadable("/Library/Frameworks/Python.framework/Versions/3.8/Python")
if filereadable("/opt/local/Library/Frameworks/Python.framework/Versions/3.9/Python")
" MacPorts python 3.9
set pythonthreedll=/opt/local/Library/Frameworks/Python.framework/Versions/3.9/Python
elseif filereadable("/Library/Frameworks/Python.framework/Versions/3.9/Python")
" https://www.python.org/downloads/mac-osx/
set pythonthreedll=/Library/Frameworks/Python.framework/Versions/3.8/Python
set pythonthreedll=/Library/Frameworks/Python.framework/Versions/3.9/Python
endif
endif