source: general/prog/lxml.xml@ 5ff8c3a

11.3 12.0 12.1 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/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 5ff8c3a was 5ff8c3a, checked in by Bruce Dubbs <bdubbs@…>, 21 months ago

Add --no-user in Python module installation instructions.

  • Property mode set to 100644
File size: 3.4 KB
Line 
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
7 <!ENTITY lxml-download-http "&pymodules-dl;/l/lxml/lxml-&lxml-version;.tar.gz">
8 <!ENTITY lxml-download-ftp " ">
9 <!ENTITY lxml-md5sum "e27240a7319d80d0c1e5390ca31eb1d8">
10 <!ENTITY lxml-size "3.2 MB">
11 <!ENTITY lxml-buildsize "99 MB">
12 <!ENTITY lxml-time "0.9 SBU">
13]>
14
15 <!-- Begin lxml -->
16 <sect2 id="lxml" xreflabel="lxml-&lxml-version;">
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">
25 <title>Introduction to lxml Module</title>
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
33 &lfs112_checked;
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>
75
76 <para condition="html" role="usernotes">
77 User Notes: <ulink url="&blfs-wiki;/lxml"/>
78 </para>
79 </sect3>
80
81 <sect3 role="installation">
82 <title>Installation of lxml</title>
83
84 <para>
85 To build the <application>Python 3</application> module, run:
86 </para>
87
88<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
89
90 <para>
91 To install the module, issue the following command as the &root; user:
92 </para>
93
94<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user lxml</userinput></screen>
95
96 </sect3>
97
98 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
99 href="../../xincludes/pip3-cmd-explain.xml"/>
100
101 <sect3 role="content">
102 <title>Contents</title>
103
104 <segmentedlist>
105 <segtitle>Installed Programs</segtitle>
106 <segtitle>Installed Libraries</segtitle>
107 <segtitle>Installed Directories</segtitle>
108
109 <seglistitem>
110 <seg>
111 None
112 </seg>
113 <seg>
114 None
115 </seg>
116 <seg>
117 /usr/lib/python&python3-majorver;/site-packages/lxml and
118 /usr/lib/python&python3-majorver;/site-packages/lxml-&lxml-version;.dist-info
119 </seg>
120 </seglistitem>
121 </segmentedlist>
122
123 </sect3>
124
125 </sect2>
Note: See TracBrowser for help on using the repository browser.