Mercurial > vim
diff runtime/doc/if_pyth.txt @ 11160:d0a20101ecb2
Update runtime files.
commit https://github.com/vim/vim/commit/036986f1507d223549d110af300144468bd3a1f7
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 16 17:41:02 2017 +0100
Update runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 16 Mar 2017 17:45:05 +0100 |
parents | 1218c5353e2b |
children | 444ad56c0cac |
line wrap: on
line diff
--- a/runtime/doc/if_pyth.txt +++ b/runtime/doc/if_pyth.txt @@ -1,4 +1,4 @@ -*if_pyth.txt* For Vim version 8.0. Last change: 2017 Feb 18 +*if_pyth.txt* For Vim version 8.0. Last change: 2017 Mar 09 VIM REFERENCE MANUAL by Paul Moore @@ -17,6 +17,7 @@ 8. pyeval(), py3eval() Vim functions |p 9. Dynamic loading |python-dynamic| 10. Python 3 |python3| 11. Python X |python_x| +12. Building with Python support |python-building| {Vi does not have any of these commands} @@ -880,4 +881,26 @@ If a user prefers Python 2 and want to f endif ============================================================================== +12. Building with Python support *python-building* + +A few hints for building with Python 2 or 3 support. + +UNIX + +See src/Makefile for how to enable including the Python interface. + +On Ubuntu you will want to install these packages for Python 2: + python + python-dev +For Python 3: + python3 + pytyon3-dev +For Python 3.6: + python3.6 + pytyon3.6-dev + +If you have more than one version of Python 3, you need to link python3 to the +one you prefer, before running configure. + +============================================================================== vim:tw=78:ts=8:ft=help:norl: