Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/lxml.xml

    r8c350e6 r9d43379c  
    77  <!ENTITY lxml-download-http "&pymodules-dl;/l/lxml/lxml-&lxml-version;.tar.gz">
    88  <!ENTITY lxml-download-ftp  " ">
    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">
     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)">
    1313]>
    1414
     
    2323
    2424    <sect3 role="package">
    25       <title>Introduction to lxml Module</title>
     25      <title>Introduction to lxml</title>
    2626
    2727      <para>
     
    3131      </para>
    3232
    33       &lfs112_checked;
     33      &lfs110a_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>
    7587
    7688      <para condition="html" role="usernotes">
     
    8193    <sect3 role="installation">
    8294      <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. -->
    83105
    84106      <para>
    85         To build the <application>Python 3</application> module, run:
     107        To build <!--both <application>Python 2</application> and --> the
     108        <application>Python 3</application> module, run:
    86109      </para>
    87110
    88 <screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
     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>
    89119
    90120      <para>
    91         To install the module, issue the following command as the &root; user:
     121        To install the module, issue the following command as the
     122        <systemitem class="username">root</systemitem> user:
    92123      </para>
    93124
    94 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user lxml</userinput></screen>
     125<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
    95126
    96127    </sect3>
    97 
    98     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    99       href="../../xincludes/pip3-cmd-explain.xml"/>
    100128
    101129    <sect3 role="content">
     
    115143          </seg>
    116144          <seg>
    117             /usr/lib/python&python3-majorver;/site-packages/lxml and
    118             /usr/lib/python&python3-majorver;/site-packages/lxml-&lxml-version;.dist-info
     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
    119150          </seg>
    120151        </seglistitem>
Note: See TracChangeset for help on using the changeset viewer.