Changeset fa76823d


Ignore:
Timestamp:
04/20/2022 03:39:55 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:
2543311c
Parents:
00b0be00
Message:

Update lxml instructions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/lxml.xml

    r00b0be00 rfa76823d  
    99  <!ENTITY lxml-md5sum        "ddb9f25a41ca5fb4f7d174a9d74bfa46">
    1010  <!ENTITY lxml-size          "3.1 MB">
    11   <!ENTITY lxml-buildsize     "91 MB (add 20 MB for tests)">
    12   <!ENTITY lxml-time          "1.1 SBU (add 0.6 SBU for tests)">
     11  <!ENTITY lxml-buildsize     "91 MB">
     12  <!ENTITY lxml-time          "1.0 SBU">
    1313]>
    1414
     
    2323
    2424    <sect3 role="package">
    25       <title>Introduction to lxml</title>
     25      <title>Introduction to lxml Module</title>
    2626
    2727      <para>
     
    7474      </para>
    7575<!--
    76       <bridgehead renderas="sect5">Recommended</bridgehead>
    77       <para role="recommended">
    78         <xref linkend="python2"/>
    79       </para>
    80 -->
    8176      <bridgehead renderas="sect5">Optional (to run more tests)</bridgehead>
    8277      <para role="optional">
     
    8580        <ulink url="&pypi;/cssselect/">cssselect</ulink>
    8681      </para>
    87 
     82-->
    8883      <para condition="html" role="usernotes">
    8984        User Notes: <ulink url="&blfs-wiki;/lxml"/>
     
    9388    <sect3 role="installation">
    9489      <title>Installation of lxml</title>
    95 <!--
    96       <note>
    97         <para>
    98           Both <application>Python 2</application> and
    99           <application>Python 3</application> modules can
    100           be built and installed without any conflicts.
    101         </para>
    102       </note>
    103 -->
    104 <!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
    10590
    10691      <para>
     
    10994      </para>
    11095
    111 <screen><userinput>python3 setup.py build</userinput></screen>
     96<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
    11297
     98<!--
    11399     <para>
    114100       If you wish to run the tests, enter:
    115101       <command>make PYTHON=python3 test</command>.
    116102       This will rebuild the package for in-place use before running the tests.
    117        <!--Several tests (32 of 1948) are known to fail with Python-3.10.1.-->
     103       <!- -Several tests (32 of 1948) are known to fail with Python-3.10.1.- ->
    118104     </para>
    119 
     105-->
    120106      <para>
    121         To install the module, issue the following command as the
    122         <systemitem class="username">root</systemitem> user:
     107        To install the module, issue the following command as the &root; user:
    123108      </para>
    124109
    125 <screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
     110<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir lxml</userinput></screen>
    126111
    127112    </sect3>
     113
     114    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     115      href="../../xincludes/pip3-cmd-explain.xml"/>
    128116
    129117    <sect3 role="content">
     
    143131          </seg>
    144132          <seg>
    145 <!--            /usr/lib/python&python2-majorver;/site-packages/lxml,
    146             /usr/lib/python&python2-majorver;/site-packages/lxml-&lxml-version;-py&python2-majorver;-linux-$ARCH.egg-info
    147             and/or -->
    148             /usr/lib/python&python3-majorver;/site-packages/lxml,
    149             /usr/lib/python&python3-majorver;/site-packages/lxml-&lxml-version;-py&python3-majorver;-linux-$ARCH.egg-info
     133            /usr/lib/python&python3-majorver;/site-packages/lxml and
     134            /usr/lib/python&python3-majorver;/site-packages/lxml-&lxml-version;.dist-info
    150135          </seg>
    151136        </seglistitem>
Note: See TracChangeset for help on using the changeset viewer.