summaryrefslogtreecommitdiffstats
path: root/runtime/doc/if_pyth.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-16 17:41:02 +0100
committerBram Moolenaar <Bram@vim.org>2017-03-16 17:41:02 +0100
commit036986f1507d223549d110af300144468bd3a1f7 (patch)
tree4ceb878909e769f23d6deeae3bbb03d16e974f0d /runtime/doc/if_pyth.txt
parent8820b48654b62472821d9b155fe03ab7ac13a05c (diff)
Update runtime files.
Diffstat (limited to 'runtime/doc/if_pyth.txt')
-rw-r--r--runtime/doc/if_pyth.txt25
1 files changed, 24 insertions, 1 deletions
diff --git a/runtime/doc/if_pyth.txt b/runtime/doc/if_pyth.txt
index 0be8a3196d..6f1c202d9a 100644
--- 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 @@ The Python Interface to Vim *python* *Python*
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 fallback to Python 3, he needs to set
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: