source: general/prog/python-modules.xml@ e962ced

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since e962ced was bce49fc, checked in by Pierre Labastie <pierre.labastie@…>, 14 months ago

Testing python modules may require sqlite3 module

Add a note that it may be needed to rebuilt python3 after installing
sqlite

  • Property mode set to 100644
File size: 9.8 KB
RevLine 
[ce892ab3]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
[d2b1e2e]8<sect1 id="python-modules" xreflabel="Python Modules">
[ce892ab3]9 <?dbhtml filename="python-modules.html" ?>
10
11
12 <title>Python Modules</title>
13
14 <indexterm zone="python-modules">
[d2b1e2e]15 <primary sortas="a-Python-Modules">Python Modules</primary>
[ce892ab3]16 </indexterm>
17
18 <sect2 role="package">
19 <title>Introduction to Python Modules</title>
20
[66b546a]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>
[ce892ab3]26
[bce49fc]27 <note>
28 <para>
29 If you want to run tests, several of the following modules depend on
30 the <option>sqlite3</option> core python module that has not been
31 built in LFS. It is therefore recommended to rebuild Python after
32 installing the recommended dependency listed in
33 <xref linkend="python3"/>.
34 </para>
35 </note>
36
[8c2cfcf]37 <important>
38 <para>
39 In BLFS, we normally build and install Python 3 modules with
40 <command>pip3</command>. Please take care that the
41 <command>pip3 install</command> commands in the book should be
42 run as &root; unless it's for a Python virtual environment. Running
[7777643]43 <command>pip3 install</command> as a non-&root; user may seem to
[1bd1f767]44 work fine, but it will cause the installed module to be inaccessible by
[8c2cfcf]45 other users.
46 </para>
47 <para>
48 <command>pip3 install</command> will not reinstall an already
49 installed module by default. For using the
50 <command>pip3 install</command> command to upgrade a module (for
[7777643]51 example, from meson-0.61.3 to meson-0.62.0), insert
52 <parameter>--upgrade</parameter> into the command line. If it's really
[8c2cfcf]53 necessary to downgrade a module or reinstall the same version for
[7777643]54 some reason, insert <parameter>--force-reinstall</parameter> into
[8c2cfcf]55 the command line.
56 </para>
57 </important>
58
[ce892ab3]59 <itemizedlist spacing="compact">
[3ef383c]60<!--
61 <listitem>
62 <para>
63 <xref linkend="pythonhosted"/>
64 </para>
65 </listitem>
66-->
[141ee0a5]67 <listitem>
68 <para>
69 <xref linkend="asciidoc"/>
70 </para>
71 </listitem>
[381cfd1]72 <listitem>
73 <para>
74 <xref linkend="cachecontrol"/>
75 </para>
76 </listitem>
[5a434ec]77 <listitem>
78 <para>
79 <xref linkend="cssselect"/>
80 </para>
81 </listitem>
[7b459c22]82 <listitem>
83 <para>
84 <xref linkend="cython"/>
85 </para>
86 </listitem>
[ae96c4b]87 <listitem>
88 <para>
[53d92c8]89 <xref linkend="python-dbusmock"/>
[ae96c4b]90 </para>
91 </listitem>
[53d92c8]92 <listitem>
[14c0be2f]93 <para>
[53d92c8]94 <xref linkend="dbus-python"/>
[14c0be2f]95 </para>
96 </listitem>
[93883ec]97 <listitem>
[22f9c48]98 <para>
[d3ea9e8]99 <xref linkend="docutils"/>
[8558044]100 </para>
[22f9c48]101 </listitem>
[622cc86e]102 <listitem>
103 <para>
104 <xref linkend="doxypypy"/>
105 </para>
106 </listitem>
107 <listitem>
108 <para>
109 <xref linkend="doxyqml"/>
110 </para>
111 </listitem>
[8828c760]112 <listitem>
113 <para>
114 <xref linkend="gi-docgen"/>
115 </para>
116 </listitem>
[53d92c8]117 <listitem revision="sysv">
[8c5e6ec]118 <para>
[53d92c8]119 <xref linkend="Jinja2"/>
[8c5e6ec]120 </para>
121 </listitem>
[3aee187]122 <listitem>
123 <para>
[53d92c8]124 <xref linkend="libxml2py2"/>
[3aee187]125 </para>
126 </listitem>
[ce892ab3]127 <listitem>
[66b546a]128 <para>
[53d92c8]129 <xref linkend="lxml"/>
[d3ea9e8]130 </para>
[ce892ab3]131 </listitem>
[a73f7b02]132 <listitem>
133 <para>
[53d92c8]134 <xref linkend="Mako"/>
[a73f7b02]135 </para>
136 </listitem>
[53d92c8]137 <listitem revision="sysv">
[0c2e5325]138 <para>
[53d92c8]139 <xref linkend="MarkupSafe"/>
[0c2e5325]140 </para>
141 </listitem>
[7b3ac32]142 <listitem>
143 <para>
144 <xref linkend="numpy"/>
145 </para>
146 </listitem>
[82eddd4]147 <listitem>
148 <para>
[53d92c8]149 <xref linkend="packaging"/>
[82eddd4]150 </para>
151 </listitem>
[10092cde]152 <listitem>
153 <para>
[53d92c8]154 <xref linkend="py3c"/>
[10092cde]155 </para>
156 </listitem>
[07f61e4]157 <listitem>
158 <para>
[53d92c8]159 <xref linkend="pyatspi2"/>
[07f61e4]160 </para>
161 </listitem>
[f4472d1]162 <listitem>
[66b546a]163 <para>
[53d92c8]164 <xref linkend="pycairo2"/>
[66b546a]165 </para>
[ce892ab3]166 </listitem>
167 <listitem>
[66b546a]168 <para>
[53d92c8]169 <xref linkend="pycairo"/>
[66b546a]170 </para>
[ce892ab3]171 </listitem>
[968dece]172 <listitem>
[66b546a]173 <para>
[53d92c8]174 <xref linkend="pycryptodome"/>
[66b546a]175 </para>
[968dece]176 </listitem>
[d938ca94]177 <listitem>
178 <para>
[53d92c8]179 <xref linkend="pygments"/>
[22f9c48]180 </para>
[08093b3]181 </listitem>
[cd964c8]182 <listitem>
183 <para>
[53d92c8]184 <xref linkend="pygobject2"/>
[cd964c8]185 </para>
186 </listitem>
[7d35ee59]187 <listitem>
[23e36d1]188 <para>
[53d92c8]189 <xref linkend="pygobject3"/>
[23e36d1]190 </para>
191 </listitem>
[53d92c8]192 <listitem>
[22f9c48]193 <para>
[53d92c8]194 <xref linkend="pygtk"/>
[22f9c48]195 </para>
196 </listitem>
[53d92c8]197 <listitem>
[22f9c48]198 <para>
[53d92c8]199 <xref linkend="pyparsing"/>
[22f9c48]200 </para>
201 </listitem>
[cbc9210]202 <listitem>
203 <para>
204 <xref linkend="pyserial"/>
205 </para>
206 </listitem>
[0499056]207 <listitem>
[22f9c48]208 <para>
[53d92c8]209 <xref linkend="pytest"/>
[22f9c48]210 </para>
211 </listitem>
[6e98a080]212 <listitem>
213 <para>
[53d92c8]214 <xref linkend="pyxdg"/>
[6e98a080]215 </para>
216 </listitem>
[0cf85fa]217 <listitem>
[14c0be2f]218 <para>
[53d92c8]219 <xref linkend="PyYAML"/>
[14c0be2f]220 </para>
221 </listitem>
[a8b202a]222 <listitem>
223 <para>
224 <xref linkend="recommonmark"/>
225 </para>
226 </listitem>
[2dfb0a58]227 <listitem>
228 <para>
229 <xref linkend="requests"/>
230 </para>
231 </listitem>
[7d35ee59]232 <listitem>
233 <para>
234 <xref linkend="scour"/>
235 </para>
236 </listitem>
[505c46cc]237 <listitem>
238 <para>
239 <xref linkend="six"/>
240 </para>
241 </listitem>
[0cf85fa]242 <listitem>
243 <para>
244 <xref linkend="sphinx"/>
245 </para>
246 </listitem>
[6e86a83]247 <listitem>
248 <para>
249 <xref linkend="sphinx_rtd_theme"/>
250 </para>
251 </listitem>
[ce892ab3]252 </itemizedlist>
253 </sect2>
254
[3ef383c]255<!--
256 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
257 href="python-dependencies/pythonhosted.xml"/>
258-->
[141ee0a5]259 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[5fe69261]260 href="python-modules/asciidoc.xml"/>
[141ee0a5]261
[5a434ec]262 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
263 href="python-modules/cssselect.xml"/>
264
[381cfd1]265 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
266 href="python-modules/cachecontrol.xml"/>
267
[7b459c22]268 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[5fe69261]269 href="python-modules/cython.xml"/>
[7b459c22]270
[53d92c8]271 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
272 href="python-modules/python-dbusmock.xml"/>
273
[d2b1e2e]274 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[5fe69261]275 href="python-modules/dbus-python.xml"/>
[a73f7b02]276
[d3ea9e8]277 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[5fe69261]278 href="python-modules/docutils.xml"/>
[d3ea9e8]279
[622cc86e]280 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
281 href="python-modules/doxypypy.xml"/>
282
283 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
284 href="python-modules/doxyqml.xml"/>
285
[8828c760]286 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
287 href="python-modules/gi-docgen.xml"/>
288
[8c5e6ec]289 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[53d92c8]290 href="python-modules/jinja2.xml"/>
[3aee187]291
[22f9c48]292 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[53d92c8]293 href="python-modules/libxml2py2.xml"/>
[82eddd4]294
[0c2e5325]295 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[53d92c8]296 href="python-modules/lxml.xml"/>
[0c2e5325]297
[82eddd4]298 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[53d92c8]299 href="python-modules/mako.xml"/>
[a73f7b02]300
[10092cde]301 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[53d92c8]302 href="python-modules/markupsafe.xml"/>
[10092cde]303
[7b3ac32]304 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
305 href="python-modules/numpy.xml"/>
306
[07f61e4]307 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[53d92c8]308 href="python-modules/packaging.xml"/>
[07f61e4]309
[d2b1e2e]310 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[53d92c8]311 href="python-modules/py3c.xml"/>
[a73f7b02]312
[d2b1e2e]313 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[53d92c8]314 href="python-modules/pyatspi2.xml"/>
[a73f7b02]315
[d2b1e2e]316 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[53d92c8]317 href="python-modules/pycairo2.xml"/>
[f4472d1]318
[d2b1e2e]319 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[53d92c8]320 href="python-modules/pycairo.xml"/>
[d938ca94]321
[a8b202a]322 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[53d92c8]323 href="python-modules/pycryptodome.xml"/>
[a8b202a]324
[22f9c48]325 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[53d92c8]326 href="python-modules/pygments.xml"/>
[22f9c48]327
[cd964c8]328 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[53d92c8]329 href="python-modules/pygobject2.xml"/>
[cd964c8]330
[23e36d1]331 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[53d92c8]332 href="python-modules/pygobject3.xml"/>
[23e36d1]333
[22f9c48]334 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[53d92c8]335 href="python-modules/pygtk.xml"/>
[22f9c48]336
337 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[53d92c8]338 href="python-modules/pyparsing.xml"/>
[22f9c48]339
[cbc9210]340 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
341 href="python-modules/pyserial.xml"/>
342
[22f9c48]343 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[53d92c8]344 href="python-modules/pytest.xml"/>
[22f9c48]345
[6e98a080]346 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[53d92c8]347 href="python-modules/pyxdg.xml"/>
[6e98a080]348
[0cf85fa]349 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[53d92c8]350 href="python-modules/pyyaml.xml"/>
[14c0be2f]351
[22f9c48]352 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[53d92c8]353 href="python-modules/recommonmark.xml"/>
[22f9c48]354
[2dfb0a58]355 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
356 href="python-modules/requests.xml"/>
357
[7d35ee59]358 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[5fe69261]359 href="python-modules/scour.xml"/>
[7d35ee59]360
[505c46cc]361 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[5fe69261]362 href="python-modules/six.xml"/>
[505c46cc]363
[0cf85fa]364 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
365 href="python-modules/sphinx.xml"/>
366
[6e86a83]367 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
368 href="python-modules/sphinx_rtd_theme.xml"/>
369
[ce892ab3]370</sect1>
Note: See TracBrowser for help on using the repository browser.