gpgme/lang/python/docs/dita/howto/part02/installing.dita
Ben McGinnes 1e34141f67 python bindings howto: dita version
* Numerous updates to bring it back into sync with the official doc.
* Especially important since it now looks like the babel thing is a
  real bug after all and not me doing something stupid.
2018-07-13 22:08:42 +10:00

24 lines
1.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dita PUBLIC "-//OASIS//DTD DITA Composite//EN" "ditabase.dtd">
<dita xml:lang="en-GB">
<topic id="topic_ivh_zfy_5db">
<title>Installing</title>
<body>
<p>Installing the Python bindings is effectively achieved by compiling and installing GPGME
itself.</p>
<p>Once SWIG is installed with Python and all the dependencies for GPGME are installed you
only need to confirm that the version(s) of Python you want the bindings installed for are
in your <codeph>$PATH</codeph>.</p>
<p>By default GPGME will attempt to install the bindings for the most recent or highest
version number of Python 2 and Python 3 it detects in <codeph>$PATH</codeph>. It
specifically checks for the <cmdname>python</cmdname> and <cmdname>python3</cmdname>
executables first and then checks for specific version numbers.</p>
<p>For Python 2 it checks for these executables in this order: <cmdname>python</cmdname>,
<cmdname>python2</cmdname> and <cmdname>python2.7</cmdname>.</p>
<p>For Python 3 it checks for these executables in this order: <cmdname>python3</cmdname>,
<cmdname>python3.6</cmdname>, <cmdname>python3.5</cmdname>, <cmdname>python3.4</cmdname>
and <cmdname>python3.7</cmdname>.</p>
</body>
</topic>
</dita>