source: general/prog/lxml.xml@ 4dc416f

11.2 11.3 12.0 12.1 gimp3 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/for-12.3 xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/xf86-video-removal
Last change on this file since 4dc416f was fa76823d, checked in by Bruce Dubbs <bdubbs@…>, 2 years ago

Update lxml instructions

  • Property mode set to 100644
File size: 4.0 KB
RevLine 
[23e36d1]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[8dfc5c3]7 <!ENTITY lxml-download-http "&pymodules-dl;/l/lxml/lxml-&lxml-version;.tar.gz">
[23e36d1]8 <!ENTITY lxml-download-ftp " ">
[6148e28]9 <!ENTITY lxml-md5sum "ddb9f25a41ca5fb4f7d174a9d74bfa46">
[0ed6f34]10 <!ENTITY lxml-size "3.1 MB">
[fa76823d]11 <!ENTITY lxml-buildsize "91 MB">
12 <!ENTITY lxml-time "1.0 SBU">
[23e36d1]13]>
14
15 <!-- Begin lxml -->
[7d35ee59]16 <sect2 id="lxml" xreflabel="lxml-&lxml-version;">
[23e36d1]17
18 <title>lxml-&lxml-version;</title>
19
20 <indexterm zone="lxml">
21 <primary sortas="a-lxml">lxml</primary>
22 </indexterm>
23
24 <sect3 role="package">
[fa76823d]25 <title>Introduction to lxml Module</title>
[23e36d1]26
27 <para>
28 <application>lxml</application> provides
29 <application>Python</application> bindings for
30 <xref linkend="libxslt"/> and <xref linkend="libxml2"/>.
31 </para>
32
[03a2986]33 &lfs111_checked;
[23e36d1]34
35 <bridgehead renderas="sect4">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&lxml-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&lxml-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &lxml-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &lxml-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &lxml-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &lxml-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect4">lxml Dependencies</bridgehead>
70
71 <bridgehead renderas="sect5">Required</bridgehead>
72 <para role="required">
73 <xref linkend="libxslt"/>
74 </para>
[9d43379c]75<!--
[55abe72]76 <bridgehead renderas="sect5">Optional (to run more tests)</bridgehead>
77 <para role="optional">
[2219a24]78 <xref linkend="gdb"/>,
79 <xref linkend="valgrind"/>, and
[55abe72]80 <ulink url="&pypi;/cssselect/">cssselect</ulink>
81 </para>
[fa76823d]82-->
[23e36d1]83 <para condition="html" role="usernotes">
84 User Notes: <ulink url="&blfs-wiki;/lxml"/>
85 </para>
86 </sect3>
87
88 <sect3 role="installation">
89 <title>Installation of lxml</title>
90
[55abe72]91 <para>
[9d43379c]92 To build <!--both <application>Python 2</application> and --> the
93 <application>Python 3</application> module, run:
[55abe72]94 </para>
95
[fa76823d]96<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
[55abe72]97
[fa76823d]98<!--
[55abe72]99 <para>
[77deb22e]100 If you wish to run the tests, enter:
101 <command>make PYTHON=python3 test</command>.
[b9c353b]102 This will rebuild the package for in-place use before running the tests.
[fa76823d]103 <!- -Several tests (32 of 1948) are known to fail with Python-3.10.1.- ->
[55abe72]104 </para>
[fa76823d]105-->
[23e36d1]106 <para>
[fa76823d]107 To install the module, issue the following command as the &root; user:
[23e36d1]108 </para>
109
[fa76823d]110<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir lxml</userinput></screen>
[23e36d1]111
112 </sect3>
113
[fa76823d]114 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
115 href="../../xincludes/pip3-cmd-explain.xml"/>
116
[23e36d1]117 <sect3 role="content">
118 <title>Contents</title>
119
120 <segmentedlist>
121 <segtitle>Installed Programs</segtitle>
122 <segtitle>Installed Libraries</segtitle>
123 <segtitle>Installed Directories</segtitle>
124
125 <seglistitem>
126 <seg>
127 None
128 </seg>
129 <seg>
130 None
131 </seg>
132 <seg>
[fa76823d]133 /usr/lib/python&python3-majorver;/site-packages/lxml and
134 /usr/lib/python&python3-majorver;/site-packages/lxml-&lxml-version;.dist-info
[23e36d1]135 </seg>
136 </seglistitem>
137 </segmentedlist>
138
139 </sect3>
140
141 </sect2>
Note: See TracBrowser for help on using the repository browser.