Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/lxml.xml

    r9d43379c r8c350e6  
    77  <!ENTITY lxml-download-http "&pymodules-dl;/l/lxml/lxml-&lxml-version;.tar.gz">
    88  <!ENTITY lxml-download-ftp  " ">
    9   <!ENTITY lxml-md5sum        "1e5354ce400123658b9e1079508fca52">
    10   <!ENTITY lxml-size          "3.0 MB">
    11   <!ENTITY lxml-buildsize     "77 MB (add 21 MB for tests)">
    12   <!ENTITY lxml-time          "0.9 SBU (add 0.6 SBU for tests)">
     9  <!ENTITY lxml-md5sum        "aa84a7ce47581b43cb827145340505c6">
     10  <!ENTITY lxml-size          "3.5 MB">
     11  <!ENTITY lxml-buildsize     "109 MB">
     12  <!ENTITY lxml-time          "0.9 SBU">
    1313]>
    1414
     
    2323
    2424    <sect3 role="package">
    25       <title>Introduction to lxml</title>
     25      <title>Introduction to lxml Module</title>
    2626
    2727      <para>
     
    3131      </para>
    3232
    33       &lfs110a_checked;
     33      &lfs112_checked;
    3434
    3535      <bridgehead renderas="sect4">Package Information</bridgehead>
     
    7373        <xref linkend="libxslt"/>
    7474      </para>
    75 <!--
    76       <bridgehead renderas="sect5">Recommended</bridgehead>
    77       <para role="recommended">
    78         <xref linkend="python2"/>
    79       </para>
    80 -->
    81       <bridgehead renderas="sect5">Optional (to run more tests)</bridgehead>
    82       <para role="optional">
    83         <xref linkend="gdb"/>,
    84         <xref linkend="valgrind"/>, and
    85         <ulink url="&pypi;/cssselect/">cssselect</ulink>
    86       </para>
    8775
    8876      <para condition="html" role="usernotes">
     
    9381    <sect3 role="installation">
    9482      <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. -->
    10583
    10684      <para>
    107         To build <!--both <application>Python 2</application> and --> the
    108         <application>Python 3</application> module, run:
     85        To build the <application>Python 3</application> module, run:
    10986      </para>
    11087
    111 <screen><userinput>python3 setup.py build</userinput></screen>
    112 
    113      <para>
    114        If you wish to run the tests, enter:
    115        <command>make PYTHON=python3 test</command>.
    116        This will rebuild the package for inplace use before running the tests.
    117        Several tests (28 of 1933) are known to fail with Python-3.10.
    118      </para>
     88<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
    11989
    12090      <para>
    121         To install the module, issue the following command as the
    122         <systemitem class="username">root</systemitem> user:
     91        To install the module, issue the following command as the &root; user:
    12392      </para>
    12493
    125 <screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
     94<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user lxml</userinput></screen>
    12695
    12796    </sect3>
     97
     98    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     99      href="../../xincludes/pip3-cmd-explain.xml"/>
    128100
    129101    <sect3 role="content">
     
    143115          </seg>
    144116          <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
     117            /usr/lib/python&python3-majorver;/site-packages/lxml and
     118            /usr/lib/python&python3-majorver;/site-packages/lxml-&lxml-version;.dist-info
    150119          </seg>
    151120        </seglistitem>
Note: See TracChangeset for help on using the changeset viewer.