aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/docs/dita/howto/part02/installing.dita
blob: 879f6ca753669b2219039d6e35cdbd2aedf038a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?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> and
          <cmdname>python3.4</cmdname>.</p>
    </body>
  </topic>
</dita>