Skip to content

Commit f6ecba1

Browse files
committed
Update python3 framework detection to use 3.9
MacVim's CI build script was already updated to use Python 3.9 from Homebrew when building, so it would use that automatically, but update the auto-detection used for MacPorts and binary install support to use 3.9 as well.
1 parent 7ae9408 commit f6ecba1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/MacVim/vimrc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ endif
3232
" or an installation from python.org:
3333
if exists("&pythonthreedll") && exists("&pythonthreehome") &&
3434
\ !filereadable(&pythonthreedll)
35-
if filereadable("/opt/local/Library/Frameworks/Python.framework/Versions/3.8/Python")
36-
" MacPorts python 3.8
37-
set pythonthreedll=/opt/local/Library/Frameworks/Python.framework/Versions/3.8/Python
38-
elseif filereadable("/Library/Frameworks/Python.framework/Versions/3.8/Python")
35+
if filereadable("/opt/local/Library/Frameworks/Python.framework/Versions/3.9/Python")
36+
" MacPorts python 3.9
37+
set pythonthreedll=/opt/local/Library/Frameworks/Python.framework/Versions/3.9/Python
38+
elseif filereadable("/Library/Frameworks/Python.framework/Versions/3.9/Python")
3939
" https://www.python.org/downloads/mac-osx/
40-
set pythonthreedll=/Library/Frameworks/Python.framework/Versions/3.8/Python
40+
set pythonthreedll=/Library/Frameworks/Python.framework/Versions/3.9/Python
4141
endif
4242
endif
4343

0 commit comments

Comments
 (0)