Changes in general/prog/lxml.xml [9d43379c:8c350e6]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/lxml.xml
r9d43379c r8c350e6 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 " 1e5354ce400123658b9e1079508fca52">10 <!ENTITY lxml-size "3. 0MB">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"> 13 13 ]> 14 14 … … 23 23 24 24 <sect3 role="package"> 25 <title>Introduction to lxml </title>25 <title>Introduction to lxml Module</title> 26 26 27 27 <para> … … 31 31 </para> 32 32 33 &lfs11 0a_checked;33 &lfs112_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"/>, and85 <ulink url="&pypi;/cssselect/">cssselect</ulink>86 </para>87 75 88 76 <para condition="html" role="usernotes"> … … 93 81 <sect3 role="installation"> 94 82 <title>Installation of lxml</title> 95 <!--96 <note>97 <para>98 Both <application>Python 2</application> and99 <application>Python 3</application> modules can100 be built and installed without any conflicts.101 </para>102 </note>103 -->104 <!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->105 83 106 84 <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: 109 86 </para> 110 87 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> 119 89 120 90 <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: 123 92 </para> 124 93 125 <screen role="root"><userinput>p ython3 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> 126 95 127 96 </sect3> 97 98 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 99 href="../../xincludes/pip3-cmd-explain.xml"/> 128 100 129 101 <sect3 role="content"> … … 143 115 </seg> 144 116 <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 150 119 </seg> 151 120 </seglistitem>
Note:
See TracChangeset
for help on using the changeset viewer.