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 |
|
---|
8 | <sect1 id="python-modules" xreflabel="Python Modules">
|
---|
9 | <?dbhtml filename="python-modules.html" ?>
|
---|
10 |
|
---|
11 | <sect1info>
|
---|
12 | <date>$Date$</date>
|
---|
13 | </sect1info>
|
---|
14 |
|
---|
15 | <title>Python Modules</title>
|
---|
16 |
|
---|
17 | <indexterm zone="python-modules">
|
---|
18 | <primary sortas="a-Python-Modules">Python Modules</primary>
|
---|
19 | </indexterm>
|
---|
20 |
|
---|
21 | <sect2 role="package">
|
---|
22 | <title>Introduction to Python Modules</title>
|
---|
23 |
|
---|
24 | <para>
|
---|
25 | The <application>Python</application> module packages add useful objects
|
---|
26 | to the <application>Python</application> language. Modules utilized by
|
---|
27 | packages throughout BLFS are listed here, along with their dependencies.
|
---|
28 | </para>
|
---|
29 |
|
---|
30 | <important>
|
---|
31 | <para>
|
---|
32 | In BLFS, we normally build and install Python 3 modules with
|
---|
33 | <command>pip3</command>. Please take care that the
|
---|
34 | <command>pip3 install</command> commands in the book should be
|
---|
35 | run as &root; unless it's for a Python virtual environment. Running
|
---|
36 | <command>pip3 install</command> as a non-&root; user may seem to
|
---|
37 | work fine, but it will cause the installed module to be inaccessible by
|
---|
38 | other users.
|
---|
39 | </para>
|
---|
40 | <para>
|
---|
41 | <command>pip3 install</command> will not reinstall an already
|
---|
42 | installed module by default. For using the
|
---|
43 | <command>pip3 install</command> command to upgrade a module (for
|
---|
44 | example, from meson-0.61.3 to meson-0.62.0), insert
|
---|
45 | <parameter>--upgrade</parameter> into the command line. If it's really
|
---|
46 | necessary to downgrade a module or reinstall the same version for
|
---|
47 | some reason, insert <parameter>--force-reinstall</parameter> into
|
---|
48 | the command line.
|
---|
49 | </para>
|
---|
50 | </important>
|
---|
51 |
|
---|
52 | <itemizedlist spacing="compact">
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | <xref linkend="asciidoc"/>
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | <xref linkend="dbus-python"/>
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <!-- <listitem>
|
---|
64 | <para>
|
---|
65 | <xref linkend="decorator"/>
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | -->
|
---|
69 | <listitem>
|
---|
70 | <para>
|
---|
71 | <xref linkend="docutils"/>
|
---|
72 | </para>
|
---|
73 | </listitem>
|
---|
74 | <listitem>
|
---|
75 | <para>
|
---|
76 | <xref linkend="py3c"/>
|
---|
77 | </para>
|
---|
78 | </listitem>
|
---|
79 | <listitem>
|
---|
80 | <para>
|
---|
81 | <xref linkend="pyatspi2"/>
|
---|
82 | </para>
|
---|
83 | </listitem>
|
---|
84 | <listitem>
|
---|
85 | <para>
|
---|
86 | <xref linkend="pycairo"/>
|
---|
87 | </para>
|
---|
88 | </listitem>
|
---|
89 | <listitem>
|
---|
90 | <para>
|
---|
91 | <xref linkend="pycairo2"/>
|
---|
92 | </para>
|
---|
93 | </listitem>
|
---|
94 | <listitem>
|
---|
95 | <para>
|
---|
96 | <xref linkend="pycryptodome"/>
|
---|
97 | </para>
|
---|
98 | </listitem>
|
---|
99 | <listitem>
|
---|
100 | <para>
|
---|
101 | <xref linkend="python-dbusmock"/>
|
---|
102 | </para>
|
---|
103 | </listitem>
|
---|
104 | <listitem>
|
---|
105 | <para>
|
---|
106 | <xref linkend="pygments"/>
|
---|
107 | </para>
|
---|
108 | </listitem>
|
---|
109 | <listitem>
|
---|
110 | <para>
|
---|
111 | <xref linkend="pygobject2"/>
|
---|
112 | </para>
|
---|
113 | </listitem>
|
---|
114 | <listitem>
|
---|
115 | <para>
|
---|
116 | <xref linkend="pygobject3"/>
|
---|
117 | </para>
|
---|
118 | </listitem>
|
---|
119 | <listitem>
|
---|
120 | <para>
|
---|
121 | <xref linkend="pygtk"/>
|
---|
122 | </para>
|
---|
123 | </listitem>
|
---|
124 | <listitem>
|
---|
125 | <para>
|
---|
126 | <xref linkend="pyxdg"/>
|
---|
127 | </para>
|
---|
128 | </listitem>
|
---|
129 | <!-- <listitem>
|
---|
130 | <para>
|
---|
131 | <xref linkend="funcsigs"/>
|
---|
132 | </para>
|
---|
133 | </listitem>
|
---|
134 | -->
|
---|
135 | <!-- <listitem>
|
---|
136 | <para>
|
---|
137 | <xref linkend="Beaker"/>
|
---|
138 | </para>
|
---|
139 | </listitem>
|
---|
140 | -->
|
---|
141 | <listitem>
|
---|
142 | <para>
|
---|
143 | <xref linkend="libxml2py2"/>
|
---|
144 | </para>
|
---|
145 | </listitem>
|
---|
146 | <listitem>
|
---|
147 | <para>
|
---|
148 | <xref linkend="lxml"/>
|
---|
149 | </para>
|
---|
150 | </listitem>
|
---|
151 | <listitem revision="sysv">
|
---|
152 | <para>
|
---|
153 | <xref linkend="MarkupSafe"/>
|
---|
154 | </para>
|
---|
155 | </listitem>
|
---|
156 | <listitem revision="sysv">
|
---|
157 | <para>
|
---|
158 | <xref linkend="Jinja2"/>
|
---|
159 | </para>
|
---|
160 | </listitem>
|
---|
161 | <listitem>
|
---|
162 | <para>
|
---|
163 | <xref linkend="Mako"/>
|
---|
164 | </para>
|
---|
165 | </listitem>
|
---|
166 | <!-- <listitem>
|
---|
167 | <para>
|
---|
168 | <xref linkend="python-slip"/>
|
---|
169 | </para>
|
---|
170 | </listitem>
|
---|
171 | -->
|
---|
172 | <listitem>
|
---|
173 | <para>
|
---|
174 | <xref linkend="scour"/>
|
---|
175 | </para>
|
---|
176 | </listitem>
|
---|
177 | <listitem>
|
---|
178 | <para>
|
---|
179 | <xref linkend="six"/>
|
---|
180 | </para>
|
---|
181 | </listitem>
|
---|
182 | <listitem>
|
---|
183 | <para>
|
---|
184 | <xref linkend="PyYAML"/>
|
---|
185 | </para>
|
---|
186 | </listitem>
|
---|
187 | </itemizedlist>
|
---|
188 | </sect2>
|
---|
189 |
|
---|
190 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
191 | href="asciidoc.xml"/>
|
---|
192 |
|
---|
193 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
194 | href="dbus-python.xml"/>
|
---|
195 |
|
---|
196 | <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
197 | href="decorator.xml"/>
|
---|
198 | -->
|
---|
199 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
200 | href="docutils.xml"/>
|
---|
201 |
|
---|
202 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
203 | href="py3c.xml"/>
|
---|
204 |
|
---|
205 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
206 | href="pyatspi2.xml"/>
|
---|
207 | <!--
|
---|
208 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
209 | href="py2cairo.xml"/>
|
---|
210 | -->
|
---|
211 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
212 | href="pycairo.xml"/>
|
---|
213 |
|
---|
214 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
215 | href="pycairo2.xml"/>
|
---|
216 |
|
---|
217 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
218 | href="pycryptodome.xml"/>
|
---|
219 |
|
---|
220 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
221 | href="python-dbusmock.xml"/>
|
---|
222 |
|
---|
223 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
224 | href="pygments.xml"/>
|
---|
225 |
|
---|
226 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
227 | href="pygobject2.xml"/>
|
---|
228 |
|
---|
229 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
230 | href="pygobject3.xml"/>
|
---|
231 |
|
---|
232 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
233 | href="pygtk.xml"/>
|
---|
234 |
|
---|
235 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
236 | href="pyxdg.xml"/>
|
---|
237 |
|
---|
238 | <!--
|
---|
239 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
240 | href="setuptools.xml"/>
|
---|
241 | -->
|
---|
242 |
|
---|
243 | <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
244 | href="funcsigs.xml"/> -->
|
---|
245 |
|
---|
246 | <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
247 | href="beaker.xml"/>-->
|
---|
248 |
|
---|
249 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
250 | href="libxml2py2.xml"/>
|
---|
251 |
|
---|
252 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
253 | href="lxml.xml"/>
|
---|
254 |
|
---|
255 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
256 | href="markupsafe.xml"/>
|
---|
257 |
|
---|
258 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
259 | href="jinja2.xml"/>
|
---|
260 |
|
---|
261 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
262 | href="mako.xml"/>
|
---|
263 |
|
---|
264 | <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
265 | href="python-slip.xml"/>-->
|
---|
266 |
|
---|
267 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
268 | href="pyyaml.xml"/>
|
---|
269 |
|
---|
270 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
271 | href="scour.xml"/>
|
---|
272 |
|
---|
273 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
274 | href="six.xml"/>
|
---|
275 |
|
---|
276 | </sect1>
|
---|