Ignore:
Timestamp:
10/21/2019 05:54:03 PM (5 years ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 9.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
4979e5c
Parents:
1c930560
Message:

python3: Fix the installation instructions by bumping the major version of Python3 to 3.8
python3: Add required dependency on lsb-tools (which doesn't work, but I've poked DJ since he's technically upstream)
python3: Update the command explanation for --enable-optimization to use the correct location now that it's python3.8
python3: Add commented short description for 2to3 for when python2 is eventually phased out
python3: Add new program 'easy_install' and add description.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22274 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/python3.xml

    r1c930560 rf2ff0e4  
    8585
    8686    <bridgehead renderas="sect3">Python 3 Dependencies</bridgehead>
     87
     88    <bridgehead renderas="sect4">Required</bridgehead>
     89    <para role="required">
     90      <!-- This is called upon during the installation of setuptools. -->
     91      <!-- I've emailed DJ since there is a problem with this, and he is
     92           technically upstream. Since it uses a Python module that isn't
     93           recompiled yet, lsb_release fails to run.-->
     94      <xref linkend="lsb-tools"/>
     95    </para>
    8796
    8897    <bridgehead renderas="sect4">Optional</bridgehead>
     
    195204      <option>--with-lto</option>: This optional switch enables thick Link
    196205      Time Optimization. Unusually, it creates a much larger <filename
    197       class="libraryfile">/usr/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.a</filename>
     206      class="libraryfile">/usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a</filename>
    198207      with a small increase in the time to compile
    199208      <application>Python</application>. Run-time results do not appear to show
     
    237246      <seglistitem>
    238247        <seg>
    239           2to3 (symlink),
     248          2to3 (symlink) and
    240249          2to3-&python3-majorver;,
    241250
    242           idle3 (symlink), and
    243           idle&python3-majorver;
    244 
    245           pydoc3 (symlink),
     251          easy_install (symlink) and
     252          easy_install-&python3-majorver;,
     253
     254          idle3 (symlink) and
     255          idle&python3-majorver;,
     256
     257          pip3 (symlink) and
     258          pip&python3-majorver;,
     259
     260          pydoc3 (symlink) and
    246261          pydoc&python3-majorver;,
    247262
    248263          python3 (symlink);
    249           python&python3-majorver;,
    250 
    251           python3-config (symlink),
    252           python&python3-majorver;-config,
    253 
     264          python&python3-majorver;, and
     265
     266          python3-config (symlink) and
     267          python&python3-majorver;-config
     268          <!--
    254269          pyvenv (symlink),
    255           pyvenv-&python3-majorver;,
     270          pyvenv-&python3-majorver;
     271          -->
    256272        </seg>
    257273        <seg>
     
    270286      <?dbfo list-presentation="list"?>
    271287      <?dbhtml list-presentation="table"?>
     288      <!--
     289      <varlistentry id="2to3">
     290        <term><command>2to3</command></term>
     291        <listitem>
     292          <para>
     293            is designed to assist in the transition between python2 and python3
     294            by automatically converting code to be Python3 compatible.
     295          </para>
     296          <indexterm zone="python3 2to3">
     297            <primary sortas="b-2to3">2to3</primary>
     298          </indexterm>
     299        </listitem>
     300      </varlistentry>
     301      Put here for easy use when removing Python2 -->
     302      <varlistentry id="easy_install">
     303        <term><command>easy_install</command></term>
     304        <listitem>
     305          <para>
     306            is a frontend to pip3 to make it easier to configure python modules
     307            through the PIP package manager.
     308          </para>
     309          <indexterm zone="python3 easy_install">
     310            <primary sortas="python3 easy_install">easy_install</primary>
     311          </indexterm>
     312        </listitem>
     313      </varlistentry>
    272314
    273315      <varlistentry id="idle3">
     
    325367        </listitem>
    326368      </varlistentry>
    327 
     369      <!--
    328370      <varlistentry id="pyvenv">
    329371        <term><command>pyvenv</command></term>
     
    339381        </listitem>
    340382      </varlistentry>
    341 
     383      -->
    342384    </variablelist>
    343385
Note: See TracChangeset for help on using the changeset viewer.