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