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="cython"/>
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | <xref linkend="dbus-python"/>
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | <!-- <listitem>
|
---|
69 | <para>
|
---|
70 | <xref linkend="decorator"/>
|
---|
71 | </para>
|
---|
72 | </listitem>
|
---|
73 | -->
|
---|
74 | <listitem>
|
---|
75 | <para>
|
---|
76 | <xref linkend="docutils"/>
|
---|
77 | </para>
|
---|
78 | </listitem>
|
---|
79 | <listitem>
|
---|
80 | <para>
|
---|
81 | <xref linkend="py3c"/>
|
---|
82 | </para>
|
---|
83 | </listitem>
|
---|
84 | <listitem>
|
---|
85 | <para>
|
---|
86 | <xref linkend="pyatspi2"/>
|
---|
87 | </para>
|
---|
88 | </listitem>
|
---|
89 | <listitem>
|
---|
90 | <para>
|
---|
91 | <xref linkend="pycairo"/>
|
---|
92 | </para>
|
---|
93 | </listitem>
|
---|
94 | <listitem>
|
---|
95 | <para>
|
---|
96 | <xref linkend="pycairo2"/>
|
---|
97 | </para>
|
---|
98 | </listitem>
|
---|
99 | <listitem>
|
---|
100 | <para>
|
---|
101 | <xref linkend="pycryptodome"/>
|
---|
102 | </para>
|
---|
103 | </listitem>
|
---|
104 | <listitem>
|
---|
105 | <para>
|
---|
106 | <xref linkend="python-dbusmock"/>
|
---|
107 | </para>
|
---|
108 | </listitem>
|
---|
109 | <listitem>
|
---|
110 | <para>
|
---|
111 | <xref linkend="pygments"/>
|
---|
112 | </para>
|
---|
113 | </listitem>
|
---|
114 | <listitem>
|
---|
115 | <para>
|
---|
116 | <xref linkend="pygobject2"/>
|
---|
117 | </para>
|
---|
118 | </listitem>
|
---|
119 | <listitem>
|
---|
120 | <para>
|
---|
121 | <xref linkend="pygobject3"/>
|
---|
122 | </para>
|
---|
123 | </listitem>
|
---|
124 | <listitem>
|
---|
125 | <para>
|
---|
126 | <xref linkend="pygtk"/>
|
---|
127 | </para>
|
---|
128 | </listitem>
|
---|
129 | <listitem>
|
---|
130 | <para>
|
---|
131 | <xref linkend="pyxdg"/>
|
---|
132 | </para>
|
---|
133 | </listitem>
|
---|
134 | <!-- <listitem>
|
---|
135 | <para>
|
---|
136 | <xref linkend="funcsigs"/>
|
---|
137 | </para>
|
---|
138 | </listitem>
|
---|
139 | -->
|
---|
140 | <!-- <listitem>
|
---|
141 | <para>
|
---|
142 | <xref linkend="Beaker"/>
|
---|
143 | </para>
|
---|
144 | </listitem>
|
---|
145 | -->
|
---|
146 | <listitem>
|
---|
147 | <para>
|
---|
148 | <xref linkend="libxml2py2"/>
|
---|
149 | </para>
|
---|
150 | </listitem>
|
---|
151 | <listitem>
|
---|
152 | <para>
|
---|
153 | <xref linkend="lxml"/>
|
---|
154 | </para>
|
---|
155 | </listitem>
|
---|
156 | <listitem revision="sysv">
|
---|
157 | <para>
|
---|
158 | <xref linkend="MarkupSafe"/>
|
---|
159 | </para>
|
---|
160 | </listitem>
|
---|
161 | <listitem revision="sysv">
|
---|
162 | <para>
|
---|
163 | <xref linkend="Jinja2"/>
|
---|
164 | </para>
|
---|
165 | </listitem>
|
---|
166 | <listitem>
|
---|
167 | <para>
|
---|
168 | <xref linkend="Mako"/>
|
---|
169 | </para>
|
---|
170 | </listitem>
|
---|
171 | <listitem>
|
---|
172 | <para>
|
---|
173 | <xref linkend="pytest"/>
|
---|
174 | </para>
|
---|
175 | </listitem>
|
---|
176 | <listitem>
|
---|
177 | <para>
|
---|
178 | <xref linkend="scour"/>
|
---|
179 | </para>
|
---|
180 | </listitem>
|
---|
181 | <listitem>
|
---|
182 | <para>
|
---|
183 | <xref linkend="six"/>
|
---|
184 | </para>
|
---|
185 | </listitem>
|
---|
186 | <listitem>
|
---|
187 | <para>
|
---|
188 | <xref linkend="sphinx"/>
|
---|
189 | </para>
|
---|
190 | </listitem>
|
---|
191 | <listitem>
|
---|
192 | <para>
|
---|
193 | <xref linkend="PyYAML"/>
|
---|
194 | </para>
|
---|
195 | </listitem>
|
---|
196 | </itemizedlist>
|
---|
197 | </sect2>
|
---|
198 |
|
---|
199 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
200 | href="python-modules/asciidoc.xml"/>
|
---|
201 |
|
---|
202 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
203 | href="python-modules/cython.xml"/>
|
---|
204 |
|
---|
205 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
206 | href="python-modules/dbus-python.xml"/>
|
---|
207 |
|
---|
208 | <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
209 | href="decorator.xml"/>
|
---|
210 | -->
|
---|
211 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
212 | href="python-modules/docutils.xml"/>
|
---|
213 |
|
---|
214 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
215 | href="python-modules/py3c.xml"/>
|
---|
216 |
|
---|
217 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
218 | href="python-modules/pyatspi2.xml"/>
|
---|
219 | <!--
|
---|
220 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
221 | href="py2cairo.xml"/>
|
---|
222 | -->
|
---|
223 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
224 | href="python-modules/pycairo.xml"/>
|
---|
225 |
|
---|
226 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
227 | href="python-modules/pycairo2.xml"/>
|
---|
228 |
|
---|
229 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
230 | href="python-modules/pycryptodome.xml"/>
|
---|
231 |
|
---|
232 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
233 | href="python-modules/python-dbusmock.xml"/>
|
---|
234 |
|
---|
235 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
236 | href="python-modules/pygments.xml"/>
|
---|
237 |
|
---|
238 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
239 | href="python-modules/pygobject2.xml"/>
|
---|
240 |
|
---|
241 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
242 | href="python-modules/pygobject3.xml"/>
|
---|
243 |
|
---|
244 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
245 | href="python-modules/pygtk.xml"/>
|
---|
246 |
|
---|
247 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
248 | href="python-modules/pyxdg.xml"/>
|
---|
249 |
|
---|
250 | <!--
|
---|
251 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
252 | href="setuptools.xml"/>
|
---|
253 | -->
|
---|
254 |
|
---|
255 | <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
256 | href="funcsigs.xml"/> -->
|
---|
257 |
|
---|
258 | <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
259 | href="beaker.xml"/>-->
|
---|
260 |
|
---|
261 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
262 | href="python-modules/libxml2py2.xml"/>
|
---|
263 |
|
---|
264 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
265 | href="python-modules/lxml.xml"/>
|
---|
266 |
|
---|
267 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
268 | href="python-modules/markupsafe.xml"/>
|
---|
269 |
|
---|
270 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
271 | href="python-modules/jinja2.xml"/>
|
---|
272 |
|
---|
273 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
274 | href="python-modules/mako.xml"/>
|
---|
275 |
|
---|
276 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
277 | href="python-modules/pytest.xml"/>
|
---|
278 |
|
---|
279 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
280 | href="python-modules/pyyaml.xml"/>
|
---|
281 |
|
---|
282 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
283 | href="python-modules/scour.xml"/>
|
---|
284 |
|
---|
285 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
286 | href="python-modules/six.xml"/>
|
---|
287 |
|
---|
288 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
289 | href="python-modules/sphinx.xml"/>
|
---|
290 |
|
---|
291 | </sect1>
|
---|