Mercurial > vim
comparison runtime/doc/options.txt @ 13154:53cc7ea77c54 v8.0.1451
patch 8.0.1451: difficult to set the python home directories properly
commit https://github.com/vim/vim/commit/94073167e3aa8cbe18380e93a2fc8e8165438cc8
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 31 21:49:05 2018 +0100
patch 8.0.1451: difficult to set the python home directories properly
Problem: It is difficult to set the python home directory properly for
Python 2.7 and 3.5 since both use $PYTHONHOME.
Solution: Add the 'pythonhome' and 'pythonthreehome' options. (Kazuki
Sakamoto, closes #1266)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 31 Jan 2018 22:00:07 +0100 |
parents | 808625d4b71b |
children | 51521b8a370c |
comparison
equal
deleted
inserted
replaced
13153:c30f721849cb | 13154:53cc7ea77c54 |
---|---|
5965 DYNAMIC_PYTHON_DLL, which was specified at compile time. | 5965 DYNAMIC_PYTHON_DLL, which was specified at compile time. |
5966 Environment variables are expanded |:set_env|. | 5966 Environment variables are expanded |:set_env|. |
5967 This option cannot be set from a |modeline| or in the |sandbox|, for | 5967 This option cannot be set from a |modeline| or in the |sandbox|, for |
5968 security reasons. | 5968 security reasons. |
5969 | 5969 |
5970 *'pythonhome'* | |
5971 'pythonhome' string (default "") | |
5972 global | |
5973 {not in Vi} | |
5974 {only available when compiled with the |+python/dyn| | |
5975 feature} | |
5976 Specifies the name of the Python 2.x home directory. When 'pythonhome' | |
5977 and the PYTHONHOME environment variable are not set, PYTHON_HOME, | |
5978 which was specified at compile time, will be used for the Python 2.x | |
5979 home directory. | |
5980 Environment variables are expanded |:set_env|. | |
5981 This option cannot be set from a |modeline| or in the |sandbox|, for | |
5982 security reasons. | |
5983 | |
5970 *'pythonthreedll'* | 5984 *'pythonthreedll'* |
5971 'pythonthreedll' string (default depends on the build) | 5985 'pythonthreedll' string (default depends on the build) |
5972 global | 5986 global |
5973 {not in Vi} | 5987 {not in Vi} |
5974 {only available when compiled with the |+python3/dyn| | 5988 {only available when compiled with the |+python3/dyn| |
5975 feature} | 5989 feature} |
5976 Specifies the name of the Python 3 shared library. The default is | 5990 Specifies the name of the Python 3 shared library. The default is |
5977 DYNAMIC_PYTHON3_DLL, which was specified at compile time. | 5991 DYNAMIC_PYTHON3_DLL, which was specified at compile time. |
5992 Environment variables are expanded |:set_env|. | |
5993 This option cannot be set from a |modeline| or in the |sandbox|, for | |
5994 security reasons. | |
5995 | |
5996 *'pythonthreehome'* | |
5997 'pythonthreehome' string (default "") | |
5998 global | |
5999 {not in Vi} | |
6000 {only available when compiled with the |+python3/dyn| | |
6001 feature} | |
6002 Specifies the name of the Python 3 home directory. When | |
6003 'pythonthreehome' and the PYTHONHOME environment variable are not set, | |
6004 PYTHON3_HOME, which was specified at compile time, will be used for | |
6005 the Python 3 home directory. | |
5978 Environment variables are expanded |:set_env|. | 6006 Environment variables are expanded |:set_env|. |
5979 This option cannot be set from a |modeline| or in the |sandbox|, for | 6007 This option cannot be set from a |modeline| or in the |sandbox|, for |
5980 security reasons. | 6008 security reasons. |
5981 | 6009 |
5982 *'pyxversion'* *'pyx'* | 6010 *'pyxversion'* *'pyx'* |