Changeset e7d47128


Ignore:
Timestamp:
04/21/2022 01:13:14 AM (2 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
11.2, 11.3, 12.0, 12.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, xry111/llvm18, xry111/soup3, xry111/xf86-video-removal
Children:
b9a4450
Parents:
698c3986
Message:

Update pyyaml instructions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/pyyaml.xml

    r698c3986 re7d47128  
    7373      </para>
    7474
    75       <bridgehead renderas="sect5">Optional</bridgehead>
    76       <para role="optional">
    77         <xref linkend="python2"/>
    78       </para>
    79 
    8075      <para condition="html" role="usernotes">
    8176        User Notes: <ulink url="&blfs-wiki;/PyYAML"/>
     
    8580    <sect3 role="installation">
    8681      <title>Installation of PyYAML</title>
    87 <!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
    8882
    8983      <para>
    90         Install PyYAML with the following commands:
     84        Buile PyYAML with the following command:
    9185      </para>
    9286
    93 <screen><userinput>python3 setup.py build</userinput></screen>
     87<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
    9488
    9589      <para>
    96         Now, as the <systemitem class="username">root</systemitem> user:
     90        Now, install the module as the &root; user:
    9791      </para>
    9892
    99 <screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
     93<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir PyYAML</userinput></screen>
    10094
    10195    </sect3>
     96
     97    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     98      href="../../xincludes/pip3-cmd-explain.xml"/>
    10299
    103100    <sect3 role="content">
     
    114111          </seg>
    115112          <seg>
    116             _yaml.so
     113            None
    117114          </seg>
    118115          <seg>
    119             /usr/lib/python&python2-majorver;/site-packages/yaml and/or
    120             /usr/lib/python&python3-majorver;/site-packages/yaml
     116            /usr/lib/python&python2-majorver;/site-packages/yaml and 
     117            /usr/lib/python&python3-majorver;/site-packages/PyYAML-&yaml-version;.dist-info
    121118          </seg>
    122119        </seglistitem>
Note: See TracChangeset for help on using the changeset viewer.