[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[2cee003] | 7 | <!ENTITY python3-download-http
|
---|
[3f89ec5] | 8 | "https://www.python.org/ftp/python/&python3-version;/Python-&python3-version;.tar.xz">
|
---|
[355495ce] | 9 | <!ENTITY python3-download-ftp " ">
|
---|
[b3156ddf] | 10 | <!ENTITY python3-md5sum "e7c178b97bf8f7ccd677b94d614f7b3c">
|
---|
[7420ff72] | 11 | <!ENTITY python3-size "20 MB">
|
---|
[b3156ddf] | 12 | <!ENTITY python3-buildsize "337 MB (add 57 MB for tests)">
|
---|
| 13 | <!ENTITY python3-time "2.5 SBU (add 0.7 SBU for tests; both using parallelism=4)">
|
---|
[e882fc37] | 14 | <!--
|
---|
[deaa200] | 15 | Note: Size does not reflect docs that were installed in LFS.
|
---|
[3df4c93] | 16 | -->
|
---|
[2cee003] | 17 | <!ENTITY python3htmldoc-download-http
|
---|
[1fe05eb] | 18 | "https://www.python.org/ftp/python/doc/&python3-version;/python-&python3-version;-docs-html.tar.bz2">
|
---|
[b3156ddf] | 19 | <!ENTITY python3-docs-md5sum "8a6310f6288e7f60c3565277ec3b5279" >
|
---|
[52d29f7] | 20 | ]>
|
---|
| 21 |
|
---|
[b88be39] | 22 | <sect1 id="python3" xreflabel="Python-&python3-version;">
|
---|
| 23 | <?dbhtml filename="python3.html" ?>
|
---|
[83f69e5d] | 24 |
|
---|
| 25 |
|
---|
[b88be39] | 26 | <title>Python-&python3-version;</title>
|
---|
[83f69e5d] | 27 |
|
---|
[b88be39] | 28 | <indexterm zone="python3">
|
---|
[03d30cf] | 29 | <primary sortas="a-Python3">Python3</primary>
|
---|
[83f69e5d] | 30 | </indexterm>
|
---|
| 31 |
|
---|
| 32 | <sect2 role="package">
|
---|
[03d30cf] | 33 | <title>Introduction to Python 3</title>
|
---|
[83f69e5d] | 34 |
|
---|
[355495ce] | 35 | <para>
|
---|
[03d30cf] | 36 | The <application>Python 3</application> package contains the
|
---|
[355495ce] | 37 | <application>Python</application> development environment.
|
---|
| 38 | This is useful for object-oriented programming, writing scripts,
|
---|
| 39 | prototyping large programs or developing entire applications.
|
---|
| 40 | </para>
|
---|
[48b816cb] | 41 |
|
---|
[de33b2a] | 42 | <note>
|
---|
| 43 | <para>
|
---|
| 44 | <application>Python 3</application> was installed in LFS.
|
---|
| 45 | The only reason to rebuild it here is if optional modules
|
---|
[b9a6bcc0] | 46 | are needed, or to upgrade this package.
|
---|
[de33b2a] | 47 | </para>
|
---|
| 48 | </note>
|
---|
[60ddbaf] | 49 |
|
---|
[5d0e7b8] | 50 | &lfs121_checked;
|
---|
[48b816cb] | 51 |
|
---|
[bd68243] | 52 | <important>
|
---|
| 53 | <para>
|
---|
| 54 | If upgrading to a new Python-3 minor version (for example,
|
---|
[7420ff72] | 55 | from Python-3.11.x to Python-3.12.0), you will need to reinstall
|
---|
[bd68243] | 56 | any Python3 modules you have installed. You should also
|
---|
| 57 | reinstall packages that generate Python3 modules
|
---|
[54d58907] | 58 | including
|
---|
[c0bc0a9] | 59 | &gobject-introspection;,
|
---|
[8748122] | 60 | <xref linkend="libxml2"/>,
|
---|
[bd68243] | 61 | <xref linkend="opencv"/>,
|
---|
[bf09c25] | 62 | <xref linkend="graphviz"/> (if swig is installed).
|
---|
| 63 | </para>
|
---|
| 64 |
|
---|
[fb0bbe2] | 65 | <para>Before you upgrade, you can get a list of modules installed
|
---|
| 66 | with <command>pip3 list</command>. The list may be incomplete as
|
---|
| 67 | some Python modules are not installed with <command>pip3</command>,
|
---|
| 68 | for example the <literal>cracklib</literal> module installed by
|
---|
| 69 | <xref role='nodep' linkend='cracklib'/>. Use <command>ls
|
---|
| 70 | /usr/lib/python3.<replaceable>minor</replaceable>/site-packages</command>
|
---|
| 71 | for a comprehensive list.
|
---|
[bd68243] | 72 | </para>
|
---|
[ec288f7] | 73 |
|
---|
| 74 | <para>
|
---|
[fb0bbe2] | 75 | The Python modules from LFS will also have to be reinstalled:
|
---|
| 76 | <ulink url="&lfs-root;/chapter08/flit-core.html">flit-core</ulink>,
|
---|
[32c1b77] | 77 | <ulink url="&lfs-root;/chapter08/wheel.html">wheel</ulink>,
|
---|
[7420ff72] | 78 | <ulink url="&lfs-root;/chapter08/setuptools.html">setuptools</ulink>,
|
---|
[32c1b77] | 79 | <ulink url="&lfs-root;/chapter08/meson.html">meson</ulink>,
|
---|
| 80 | <ulink url="&lfs-root;/chapter08/markupsafe.html">MarkupSafe</ulink>,
|
---|
| 81 | and <ulink url="&lfs-root;/chapter08/jinja2.html">Jinja2</ulink>.
|
---|
[ec288f7] | 82 | </para>
|
---|
[bd68243] | 83 | </important>
|
---|
| 84 |
|
---|
[83f69e5d] | 85 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 86 | <itemizedlist spacing="compact">
|
---|
| 87 | <listitem>
|
---|
[355495ce] | 88 | <para>
|
---|
| 89 | Download (HTTP): <ulink url="&python3-download-http;"/>
|
---|
| 90 | </para>
|
---|
[83f69e5d] | 91 | </listitem>
|
---|
| 92 | <listitem>
|
---|
[355495ce] | 93 | <para>
|
---|
| 94 | Download (FTP): <ulink url="&python3-download-ftp;"/>
|
---|
| 95 | </para>
|
---|
[83f69e5d] | 96 | </listitem>
|
---|
| 97 | <listitem>
|
---|
[355495ce] | 98 | <para>
|
---|
| 99 | Download MD5 sum: &python3-md5sum;
|
---|
| 100 | </para>
|
---|
[83f69e5d] | 101 | </listitem>
|
---|
| 102 | <listitem>
|
---|
[355495ce] | 103 | <para>
|
---|
| 104 | Download size: &python3-size;
|
---|
| 105 | </para>
|
---|
[83f69e5d] | 106 | </listitem>
|
---|
| 107 | <listitem>
|
---|
[355495ce] | 108 | <para>
|
---|
| 109 | Estimated disk space required: &python3-buildsize;
|
---|
| 110 | </para>
|
---|
[83f69e5d] | 111 | </listitem>
|
---|
| 112 | <listitem>
|
---|
[355495ce] | 113 | <para>
|
---|
| 114 | Estimated build time: &python3-time;
|
---|
| 115 | </para>
|
---|
[83f69e5d] | 116 | </listitem>
|
---|
| 117 | </itemizedlist>
|
---|
[e882fc37] | 118 |
|
---|
[3df4c93] | 119 | <bridgehead renderas="sect3">Additional Optional Download</bridgehead>
|
---|
| 120 | <itemizedlist spacing="compact">
|
---|
| 121 | <listitem>
|
---|
| 122 | <para>
|
---|
| 123 | Download (HTTP): <ulink url="&python3htmldoc-download-http;"/>
|
---|
| 124 | </para>
|
---|
| 125 | </listitem>
|
---|
| 126 | <listitem>
|
---|
| 127 | <para>
|
---|
| 128 | Download MD5 sum: &python3-docs-md5sum;
|
---|
| 129 | </para>
|
---|
| 130 | </listitem>
|
---|
| 131 | </itemizedlist>
|
---|
| 132 |
|
---|
[03d30cf] | 133 | <bridgehead renderas="sect3">Python 3 Dependencies</bridgehead>
|
---|
[e882fc37] | 134 |
|
---|
[693f28e1] | 135 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 136 | <para role="recommended">
|
---|
[a82b5f44] | 137 | <xref linkend="sqlite"/> (required if building firefox or thunderbird)
|
---|
[693f28e1] | 138 | </para>
|
---|
| 139 |
|
---|
[83f69e5d] | 140 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[355495ce] | 141 | <para role="optional">
|
---|
[7fe0ce3b] | 142 | <xref linkend="bluez"/>,
|
---|
[e882fc37] | 143 | <xref linkend="gdb"/> (required for some tests),
|
---|
| 144 | <xref linkend="valgrind"/>, and
|
---|
[4e207bb] | 145 | <ulink url="https://www.bytereef.org/mpdecimal/">libmpdec</ulink>
|
---|
[355495ce] | 146 | </para>
|
---|
| 147 |
|
---|
| 148 | <bridgehead renderas="sect4">Optional (For Additional Modules)</bridgehead>
|
---|
| 149 | <para role="optional">
|
---|
[dcd5a063] | 150 | <xref linkend="libnsl"/>,
|
---|
| 151 | <xref linkend="tk"/>, and
|
---|
| 152 | &berkeley-db;
|
---|
[355495ce] | 153 | </para>
|
---|
[ce33273] | 154 |
|
---|
[42ddc30] | 155 | <para condition="html" role="usernotes">Editor Notes:
|
---|
[355495ce] | 156 | <ulink url="&blfs-wiki;/Python3"/>
|
---|
| 157 | </para>
|
---|
[83f69e5d] | 158 | </sect2>
|
---|
| 159 |
|
---|
| 160 | <sect2 role="installation">
|
---|
[03d30cf] | 161 | <title>Installation of Python 3</title>
|
---|
[83f69e5d] | 162 |
|
---|
[355495ce] | 163 | <para>
|
---|
[03d30cf] | 164 | Install <application>Python 3</application> by running the following
|
---|
[355495ce] | 165 | commands:
|
---|
| 166 | </para>
|
---|
[83f69e5d] | 167 |
|
---|
[a87fb41] | 168 | <screen><userinput>CXX="/usr/bin/g++" \
|
---|
| 169 | ./configure --prefix=/usr \
|
---|
| 170 | --enable-shared \
|
---|
| 171 | --with-system-expat \
|
---|
| 172 | --enable-optimizations &&
|
---|
[83f69e5d] | 173 | make</userinput></screen>
|
---|
| 174 |
|
---|
[355495ce] | 175 | <para>
|
---|
[382d0115] | 176 | <!-- I'm getting a test failure with empty $LANG:
|
---|
| 177 | "test test_curses failed"
|
---|
| 178 | "_curses.error: inswstr() returned ERR"
|
---|
[7420ff72] | 179 | not sure why, but let's just work around it with LC_ALL.
|
---|
| 180 |
|
---|
| 181 | For Python-3.12.0 all tests pass with only LANG=en_US.utf8.
|
---|
| 182 | Total tests: run=41,505 skipped=1,199
|
---|
| 183 | Total test files: run=477/483 skipped=12 resource_denied=6
|
---|
[61a04db5] | 184 |
|
---|
[2c758f0] | 185 | For Python-3.12.1 all tests pass
|
---|
| 186 | Total tests: run=40,624 skipped=1,136
|
---|
| 187 | Total test files: run=486/489 skipped=24 resource_denied=3
|
---|
| 188 |
|
---|
[5e551157] | 189 | For Python-3.12.2 all tests pass
|
---|
[b3156ddf] | 190 | Total tests: run=41,580 skipped=1,144
|
---|
| 191 | Total test files: run=485/488 skipped=23 resource_denied=3
|
---|
[7420ff72] | 192 | -->
|
---|
[382d0115] | 193 | To test the result, issue <command>LC_ALL=en_US.UTF-8
|
---|
| 194 | make test</command>.
|
---|
[5e551157] | 195 | Some tests may need an Internet connection.
|
---|
| 196 | Two tests named <filename>test_xml_etree</filename> and
|
---|
| 197 | <filename>test_xml_etree_c</filename> are known to fail with
|
---|
| 198 | expat-2.6.0 or newer.
|
---|
[355495ce] | 199 | </para>
|
---|
| 200 |
|
---|
| 201 | <para>
|
---|
| 202 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 203 | </para>
|
---|
| 204 |
|
---|
[3df4c93] | 205 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 206 |
|
---|
| 207 | <para>
|
---|
[1fe05eb] | 208 | If upgrading and the documentation has been downloaded, optionally install
|
---|
[3df4c93] | 209 | it as the &root; user:
|
---|
| 210 | </para>
|
---|
| 211 |
|
---|
[4be7bcd] | 212 | <screen role="root"><userinput>install -v -dm755 /usr/share/doc/python-&python3-version;/html
|
---|
| 213 |
|
---|
| 214 | tar --strip-components=1 \
|
---|
[3df4c93] | 215 | --no-same-owner \
|
---|
| 216 | --no-same-permissions \
|
---|
| 217 | -C /usr/share/doc/python-&python3-version;/html \
|
---|
| 218 | -xvf ../python-&python3-version;-docs-html.tar.bz2</userinput></screen>
|
---|
[1970f00] | 219 |
|
---|
[879d269] | 220 | </sect2>
|
---|
| 221 |
|
---|
| 222 | <sect2 role="commands">
|
---|
| 223 | <title>Command Explanations</title>
|
---|
| 224 |
|
---|
[fd69a62] | 225 | <para>
|
---|
| 226 | <command> CXX="/usr/bin/g++" ./configure ...</command>: Avoid an annoying
|
---|
| 227 | message during configuration.
|
---|
| 228 | </para>
|
---|
| 229 |
|
---|
[355495ce] | 230 | <para>
|
---|
[f1d7196] | 231 | <parameter>--with-system-expat</parameter>: This switch enables linking
|
---|
| 232 | against the system version of <application>Expat</application>.
|
---|
[355495ce] | 233 | </para>
|
---|
| 234 |
|
---|
[988edbf5] | 235 | <!--
|
---|
[fd69a62] | 236 | <para>
|
---|
[6e94284] | 237 | <parameter>- -with-ensurepip=yes</parameter> : This switch enables building
|
---|
[8558044] | 238 | the <command>pip</command> and <command>setuptools</command> packaging
|
---|
[229d0692] | 239 | programs. <command>setuptools</command> is needed for building some
|
---|
| 240 | Python modules.
|
---|
[fd69a62] | 241 | </para>
|
---|
[988edbf5] | 242 | -->
|
---|
[f1d7196] | 243 | <para>
|
---|
| 244 | <option>--with-dbmliborder=bdb:gdbm:ndbm</option>: Use this switch
|
---|
[229d0692] | 245 | if you want to build the <application>Python</application> DBM Module
|
---|
[f1d7196] | 246 | against <application>Berkeley DB</application> instead of
|
---|
| 247 | <application>GDBM</application>.
|
---|
| 248 | </para>
|
---|
| 249 |
|
---|
[7c57f82] | 250 | <para>
|
---|
[a0bb9145] | 251 | <parameter>--enable-optimizations</parameter>: This switch enables
|
---|
[a87fb41] | 252 | stable, but expensive, optimizations.
|
---|
[7c57f82] | 253 | </para>
|
---|
| 254 |
|
---|
| 255 | <para>
|
---|
| 256 | <option>--with-lto</option>: This optional switch enables thick Link
|
---|
| 257 | Time Optimization. Unusually, it creates a much larger <filename
|
---|
[4e207bb] | 258 | class="libraryfile">/usr/lib/python&python3-majorver;/config-&python3-majorver;-<arch>-linux-gnu/libpython&python3-majorver;.a</filename>
|
---|
[7c57f82] | 259 | with a small increase in the time to compile
|
---|
| 260 | <application>Python</application>. Run-time results do not appear to show
|
---|
| 261 | any benefit from doing this.
|
---|
| 262 | </para>
|
---|
[7224506] | 263 |
|
---|
[879d269] | 264 | </sect2>
|
---|
| 265 |
|
---|
| 266 | <sect2 role="configuration">
|
---|
[03d30cf] | 267 | <title>Configuring Python 3</title>
|
---|
[879d269] | 268 |
|
---|
[355495ce] | 269 | <para>
|
---|
[03d30cf] | 270 | In order for <command>python3</command> to find the installed
|
---|
[d7015e7] | 271 | documentation, create the following version independent symlink:
|
---|
[355495ce] | 272 | </para>
|
---|
[1970f00] | 273 |
|
---|
[d7015e7] | 274 | <screen role="root"><userinput>ln -svfn python-&python3-version; /usr/share/doc/python-3</userinput></screen>
|
---|
| 275 |
|
---|
| 276 | <para>
|
---|
| 277 | and add the following environment variable to the individual user's or
|
---|
| 278 | system's profile:
|
---|
| 279 | </para>
|
---|
| 280 |
|
---|
| 281 | <screen role="root"><userinput>export PYTHONDOCS=/usr/share/doc/python-3/html</userinput></screen>
|
---|
[83f69e5d] | 282 |
|
---|
| 283 | </sect2>
|
---|
| 284 |
|
---|
| 285 | <sect2 role="content">
|
---|
| 286 | <title>Contents</title>
|
---|
| 287 |
|
---|
| 288 | <segmentedlist>
|
---|
| 289 | <segtitle>Installed Programs</segtitle>
|
---|
| 290 | <segtitle>Installed Libraries</segtitle>
|
---|
| 291 | <segtitle>Installed Directories</segtitle>
|
---|
| 292 |
|
---|
| 293 | <seglistitem>
|
---|
[355495ce] | 294 | <seg>
|
---|
[f2ff0e4] | 295 | 2to3 (symlink) and
|
---|
[355495ce] | 296 | 2to3-&python3-majorver;,
|
---|
| 297 |
|
---|
[229d0692] | 298 | <!--
|
---|
[f2ff0e4] | 299 | easy_install-&python3-majorver;,
|
---|
[229d0692] | 300 | -->
|
---|
[f2ff0e4] | 301 |
|
---|
| 302 | idle3 (symlink) and
|
---|
| 303 | idle&python3-majorver;,
|
---|
[f5c5306] | 304 |
|
---|
[deaa200] | 305 | pip3 and
|
---|
[f2ff0e4] | 306 | pip&python3-majorver;,
|
---|
| 307 |
|
---|
[deaa200] | 308 | pydoc3 (symlink) and
|
---|
[355495ce] | 309 | pydoc&python3-majorver;,
|
---|
| 310 |
|
---|
[deaa200] | 311 | python3 (symlink) and
|
---|
[f2ff0e4] | 312 | python&python3-majorver;, and
|
---|
[355495ce] | 313 |
|
---|
[f2ff0e4] | 314 | python3-config (symlink) and
|
---|
| 315 | python&python3-majorver;-config
|
---|
[355495ce] | 316 | </seg>
|
---|
| 317 | <seg>
|
---|
[9e91b25] | 318 | libpython&python3-majorver;.so and libpython3.so
|
---|
[355495ce] | 319 | </seg>
|
---|
| 320 | <seg>
|
---|
[9e91b25] | 321 | /usr/include/python&python3-majorver;,
|
---|
[355495ce] | 322 | /usr/lib/python&python3-majorver;, and
|
---|
| 323 | /usr/share/doc/python-&python3-version;
|
---|
| 324 | </seg>
|
---|
[83f69e5d] | 325 | </seglistitem>
|
---|
| 326 | </segmentedlist>
|
---|
| 327 |
|
---|
| 328 | <variablelist>
|
---|
| 329 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 330 | <?dbfo list-presentation="list"?>
|
---|
| 331 | <?dbhtml list-presentation="table"?>
|
---|
[f2ff0e4] | 332 | <!--
|
---|
| 333 | <varlistentry id="2to3">
|
---|
| 334 | <term><command>2to3</command></term>
|
---|
| 335 | <listitem>
|
---|
| 336 | <para>
|
---|
| 337 | is designed to assist in the transition between python2 and python3
|
---|
| 338 | by automatically converting code to be Python3 compatible.
|
---|
| 339 | </para>
|
---|
| 340 | <indexterm zone="python3 2to3">
|
---|
| 341 | <primary sortas="b-2to3">2to3</primary>
|
---|
| 342 | </indexterm>
|
---|
| 343 | </listitem>
|
---|
| 344 | </varlistentry>
|
---|
| 345 | Put here for easy use when removing Python2 -->
|
---|
[229d0692] | 346 | <!--
|
---|
[f2ff0e4] | 347 | <varlistentry id="easy_install">
|
---|
| 348 | <term><command>easy_install</command></term>
|
---|
| 349 | <listitem>
|
---|
| 350 | <para>
|
---|
| 351 | is a frontend to pip3 to make it easier to configure python modules
|
---|
[4c24eb0a] | 352 | through the PIP package manager
|
---|
[f2ff0e4] | 353 | </para>
|
---|
| 354 | <indexterm zone="python3 easy_install">
|
---|
| 355 | <primary sortas="python3 easy_install">easy_install</primary>
|
---|
| 356 | </indexterm>
|
---|
| 357 | </listitem>
|
---|
| 358 | </varlistentry>
|
---|
[229d0692] | 359 | -->
|
---|
[355495ce] | 360 | <varlistentry id="idle3">
|
---|
| 361 | <term><command>idle3</command></term>
|
---|
[83f69e5d] | 362 | <listitem>
|
---|
[355495ce] | 363 | <para>
|
---|
[d0aecd33] | 364 | is a wrapper script that opens a <application>Python</application>
|
---|
| 365 | aware GUI editor. For this script to run, you must have installed
|
---|
| 366 | <application>Tk</application> before Python so that the Tkinter
|
---|
[4c24eb0a] | 367 | Python module is built
|
---|
[355495ce] | 368 | </para>
|
---|
| 369 | <indexterm zone="python3 idle3">
|
---|
| 370 | <primary sortas="b-idle3">idle3</primary>
|
---|
[83f69e5d] | 371 | </indexterm>
|
---|
| 372 | </listitem>
|
---|
| 373 | </varlistentry>
|
---|
| 374 |
|
---|
[355495ce] | 375 | <varlistentry id="pydoc3">
|
---|
| 376 | <term><command>pydoc3</command></term>
|
---|
[83f69e5d] | 377 | <listitem>
|
---|
[355495ce] | 378 | <para>
|
---|
| 379 | is the <application>Python</application> documentation
|
---|
[4c24eb0a] | 380 | tool
|
---|
[355495ce] | 381 | </para>
|
---|
| 382 | <indexterm zone="python3 pydoc3">
|
---|
| 383 | <primary sortas="b-pydoc3">pydo3c</primary>
|
---|
[83f69e5d] | 384 | </indexterm>
|
---|
| 385 | </listitem>
|
---|
| 386 | </varlistentry>
|
---|
| 387 |
|
---|
[b88be39] | 388 | <varlistentry id="python3-prog">
|
---|
[2cee003] | 389 | <term><command>python3</command></term>
|
---|
[83f69e5d] | 390 | <listitem>
|
---|
[355495ce] | 391 | <para>
|
---|
| 392 | is an interpreted, interactive, object-oriented programming
|
---|
[4c24eb0a] | 393 | language
|
---|
[355495ce] | 394 | </para>
|
---|
[b88be39] | 395 | <indexterm zone="python3 python3-prog">
|
---|
| 396 | <primary sortas="b-python3">python3</primary>
|
---|
[83f69e5d] | 397 | </indexterm>
|
---|
| 398 | </listitem>
|
---|
| 399 | </varlistentry>
|
---|
| 400 |
|
---|
[f67f5387] | 401 | <varlistentry id="python-ver">
|
---|
[b88be39] | 402 | <term><command>python&python3-majorver;</command></term>
|
---|
[83f69e5d] | 403 | <listitem>
|
---|
[355495ce] | 404 | <para>
|
---|
| 405 | is a version-specific name for the <command>python</command>
|
---|
[4c24eb0a] | 406 | program
|
---|
[355495ce] | 407 | </para>
|
---|
[b88be39] | 408 | <indexterm zone="python3 python-ver">
|
---|
[4c24eb0a] | 409 | <primary sortas="b-python&python3-majorver;">python&python3-majorver;</primary>
|
---|
[83f69e5d] | 410 | </indexterm>
|
---|
| 411 | </listitem>
|
---|
| 412 | </varlistentry>
|
---|
[f2ff0e4] | 413 | <!--
|
---|
[21e8edc] | 414 | <varlistentry id="pyvenv">
|
---|
| 415 | <term><command>pyvenv</command></term>
|
---|
| 416 | <listitem>
|
---|
| 417 | <para>
|
---|
| 418 | creates virtual <application>Python</application> environments in
|
---|
| 419 | one or more target directories.
|
---|
| 420 | </para>
|
---|
| 421 | <indexterm zone="python3 pyvenv">
|
---|
| 422 | <primary
|
---|
| 423 | sortas="b-python&python3-majorver;">python&python3-majorver;</primary>
|
---|
| 424 | </indexterm>
|
---|
| 425 | </listitem>
|
---|
| 426 | </varlistentry>
|
---|
[f2ff0e4] | 427 | -->
|
---|
[83f69e5d] | 428 | </variablelist>
|
---|
| 429 |
|
---|
| 430 | </sect2>
|
---|
[f45b1953] | 431 |
|
---|
| 432 | </sect1>
|
---|