[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[23e36d1] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[5fe69261] | 4 | <!ENTITY % general-entities SYSTEM "../../../general.ent">
|
---|
[23e36d1] | 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 " ">
|
---|
[569925c7] | 9 | <!ENTITY lxml-md5sum "&lxml-md5sum;">
|
---|
[c9fcdbfa] | 10 | <!ENTITY lxml-size "3.6 MB">
|
---|
[c6c8877] | 11 | <!ENTITY lxml-buildsize "90 MB">
|
---|
| 12 | <!ENTITY lxml-time "0.9 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 |
|
---|
[f822342] | 33 | &lfs122_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>
|
---|
[1485f69] | 75 |
|
---|
[23e36d1] | 76 | </sect3>
|
---|
| 77 |
|
---|
| 78 | <sect3 role="installation">
|
---|
| 79 | <title>Installation of lxml</title>
|
---|
| 80 |
|
---|
[55abe72] | 81 | <para>
|
---|
[00e3f27] | 82 | To build the <application>Python 3</application> module, run:
|
---|
[55abe72] | 83 | </para>
|
---|
| 84 |
|
---|
[db244ae2] | 85 | &build-wheel;
|
---|
[55abe72] | 86 |
|
---|
[23e36d1] | 87 | <para>
|
---|
[fa76823d] | 88 | To install the module, issue the following command as the &root; user:
|
---|
[23e36d1] | 89 | </para>
|
---|
| 90 |
|
---|
[db244ae2] | 91 | <screen role="root"><userinput>&install-wheel; lxml</userinput></screen>
|
---|
[23e36d1] | 92 |
|
---|
| 93 | </sect3>
|
---|
| 94 |
|
---|
[fa76823d] | 95 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[5fe69261] | 96 | href="../../../xincludes/pip3-cmd-explain.xml"/>
|
---|
[fa76823d] | 97 |
|
---|
[23e36d1] | 98 | <sect3 role="content">
|
---|
| 99 | <title>Contents</title>
|
---|
| 100 |
|
---|
| 101 | <segmentedlist>
|
---|
| 102 | <segtitle>Installed Programs</segtitle>
|
---|
| 103 | <segtitle>Installed Libraries</segtitle>
|
---|
| 104 | <segtitle>Installed Directories</segtitle>
|
---|
| 105 |
|
---|
| 106 | <seglistitem>
|
---|
| 107 | <seg>
|
---|
| 108 | None
|
---|
| 109 | </seg>
|
---|
| 110 | <seg>
|
---|
| 111 | None
|
---|
| 112 | </seg>
|
---|
| 113 | <seg>
|
---|
[fa76823d] | 114 | /usr/lib/python&python3-majorver;/site-packages/lxml and
|
---|
| 115 | /usr/lib/python&python3-majorver;/site-packages/lxml-&lxml-version;.dist-info
|
---|
[23e36d1] | 116 | </seg>
|
---|
| 117 | </seglistitem>
|
---|
| 118 | </segmentedlist>
|
---|
| 119 |
|
---|
| 120 | </sect3>
|
---|
| 121 |
|
---|
| 122 | </sect2>
|
---|