Hi,
I have been trying to compile Vim on appveyor against the new 2.7.12 
python library. As far as I can tell, I setup all needed environment 
variables
set PYTHON_DIR=c:\python2712
set PYTHON_VER=27
set DYNAMIC_PYTHON=yes

And I even put PYTHON_DIR at the beginning of the PATH, so that this 
python installation will be found before the system wide installation of 
2.7.11 in c:\python27

Vim compiles and links fine, however, when I issue:
python import sys; print sys.version
I see this:
https://ci.appveyor.com/project/chrisbra/vim-win32-installer-33v6e/build/70/job/bp8929sxxq9ci070#L955
2.7.11 (v2.7.11:6d1b6a68f775, Dec  5 2015, 20:40:30) [MSC v.1500 64 bit 
(AMD64)]

Can someone tell me, how Vim is finding the wrong python27.dll?

Also I tried playing around with setting PYTHONHOME variable, while this 
seems to work for python2 it breaks python3, since then the python3 
interpreter also looks in the wrong place to load its modules.

Setting pythondll doesn't work, since you cannot specify the path to 
use. So what would be the prefered way to load a specific dll?

Logfiles:
- Vim compiled against python 2.7.12, but uses still 2.7.11
https://ci.appveyor.com/project/chrisbra/vim-win32-installer-33v6e/build/70

- Setting pythonhome makes python3 unhappy:
https://ci.appveyor.com/project/chrisbra/vim-win32-installer-33v6e/build/68/job/vwx9xc062l11xath

Best,
Christian
-- 
Der Chef ist ein Mensch wie alle anderen, er weiß es nur nicht.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui