Changes in general/prog/lxml.xml [8c350e6:9d43379c]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/lxml.xml
r8c350e6 r9d43379c 7 7 <!ENTITY lxml-download-http "&pymodules-dl;/l/lxml/lxml-&lxml-version;.tar.gz"> 8 8 <!ENTITY lxml-download-ftp " "> 9 <!ENTITY lxml-md5sum " aa84a7ce47581b43cb827145340505c6">10 <!ENTITY lxml-size "3. 5MB">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)"> 13 13 ]> 14 14 … … 23 23 24 24 <sect3 role="package"> 25 <title>Introduction to lxml Module</title>25 <title>Introduction to lxml</title> 26 26 27 27 <para> … … 31 31 </para> 32 32 33 &lfs11 2_checked;33 &lfs110a_checked; 34 34 35 35 <bridgehead renderas="sect4">Package Information</bridgehead> … … 73 73 <xref linkend="libxslt"/> 74 74 </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> 75 87 76 88 <para condition="html" role="usernotes"> … … 81 93 <sect3 role="installation"> 82 94 <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. --> 83 105 84 106 <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: 86 109 </para> 87 110 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> 89 119 90 120 <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: 92 123 </para> 93 124 94 <screen role="root"><userinput>p ip3 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> 95 126 96 127 </sect3> 97 98 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"99 href="../../xincludes/pip3-cmd-explain.xml"/>100 128 101 129 <sect3 role="content"> … … 115 143 </seg> 116 144 <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 119 150 </seg> 120 151 </seglistitem>
Note:
See TracChangeset
for help on using the changeset viewer.