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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since d938ca94 was d938ca94, checked in by Krejzi <krejzi@…>, 11 years ago

revive pyxdg.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11426 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 44.5 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 dbus-python-download-http "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-&dbus-python-version;.tar.gz">
8 <!ENTITY dbus-python-download-ftp " ">
9 <!ENTITY dbus-python-md5sum "b09cd2d1a057cc432ce944de3fc06bf7">
10 <!ENTITY dbus-python-size "592 KB">
11 <!ENTITY dbus-python-buildsize "11 MB">
12 <!ENTITY dbus-python-time "0.3 SBU">
13
14 <!ENTITY notify-python-download-http
15 "http://www.galago-project.org/files/releases/source/notify-python/notify-python-&notify-python-version;.tar.bz2">
16 <!ENTITY notify-python-download-ftp " ">
17 <!ENTITY notify-python-md5sum "d247cf79b46cef7495deb0a76334f81d">
18 <!ENTITY notify-python-size "212 KB">
19 <!ENTITY notify-python-buildsize "2.3 MB">
20 <!ENTITY notify-python-time "less than 0.1 SBU">
21
22 <!ENTITY py2cairo-download-http
23 "http://cairographics.org/releases/py2cairo-&py2cairo-version;.tar.bz2">
24 <!ENTITY py2cairo-download-ftp " ">
25 <!ENTITY py2cairo-md5sum "20337132c4ab06c1146ad384d55372c5">
26 <!ENTITY py2cairo-size "400 KB">
27 <!ENTITY py2cairo-buildsize "3.6 MB">
28 <!ENTITY py2cairo-time "less than 0.1 SBU">
29
30 <!ENTITY pycairo-download-http
31 "http://cairographics.org/releases/pycairo-&pycairo-version;.tar.bz2">
32 <!ENTITY pycairo-download-ftp " ">
33 <!ENTITY pycairo-md5sum "e6fd3f2f1e6a72e0db0868c4985669c5">
34 <!ENTITY pycairo-size "244 KB">
35 <!ENTITY pycairo-buildsize "3.0 MB">
36 <!ENTITY pycairo-time "less than 0.1 SBU">
37
38 <!ENTITY pygobject2-download-http
39 "&gnome-download-http;/pygobject/2.28/pygobject-&pygobject2-version;.tar.xz">
40 <!ENTITY pygobject2-download-ftp
41 "&gnome-download-ftp;/pygobject/2.28/pygobject-&pygobject2-version;.tar.xz">
42 <!ENTITY pygobject2-md5sum "9415cb7f2b3a847f2310ccea258b101e">
43 <!ENTITY pygobject2-size "730 KB">
44 <!ENTITY pygobject2-buildsize "25 MB">
45 <!ENTITY pygobject2-time "0.2 SBU">
46
47 <!ENTITY pygobject3-download-http
48 "&gnome-download-http;/pygobject/3.8/pygobject-&pygobject3-version;.tar.xz">
49 <!ENTITY pygobject3-download-ftp
50 "&gnome-download-ftp;/pygobject/3.8/pygobject-&pygobject3-version;.tar.xz">
51 <!ENTITY pygobject3-md5sum "607976fa21cee004cae12795a88d2675">
52 <!ENTITY pygobject3-size "640 KB">
53 <!ENTITY pygobject3-buildsize "30 MB">
54 <!ENTITY pygobject3-time "0.3 SBU">
55
56 <!ENTITY pygtk-download-http
57 "&gnome-download-http;/pygtk/2.24/pygtk-&pygtk-version;.tar.bz2">
58 <!ENTITY pygtk-download-ftp
59 "&gnome-download-ftp;/pygtk/2.24/pygtk-&pygtk-version;.tar.bz2">
60 <!ENTITY pygtk-md5sum "a1051d5794fd7696d3c1af6422d17a49">
61 <!ENTITY pygtk-size "2.2 MB">
62 <!ENTITY pygtk-buildsize "83 MB">
63 <!ENTITY pygtk-time "0.7 SBU">
64
65 <!ENTITY pyatspi2-download-http
66 "&gnome-download-http;/pyatspi/2.8/pyatspi-&pyatspi2-version;.tar.xz">
67 <!ENTITY pyatspi2-download-ftp
68 "&gnome-download-ftp;/pyatspi/2.8/pyatspi-&pyatspi2-version;.tar.xz">
69 <!ENTITY pyatspi2-md5sum "930f51c62cca60ebdf90f735d26385b2">
70 <!ENTITY pyatspi2-size "284 KB">
71 <!ENTITY pyatspi2-buildsize "5.0 MB">
72 <!ENTITY pyatspi2-time "less than 0.1 SBU">
73
74 <!ENTITY pyrex-download-http
75 "http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/Pyrex-&pyrex-version;.tar.gz">
76 <!ENTITY pyrex-download-ftp " ">
77 <!ENTITY pyrex-md5sum "515dee67d15d4393841e2d60e8341947">
78 <!ENTITY pyrex-size "252 KB">
79 <!ENTITY pyrex-buildsize "4.0 MB">
80 <!ENTITY pyrex-time "less than 0.1 SBU">
81
82 <!ENTITY pyxdg-download-http
83 "http://people.freedesktop.org/~takluyver/pyxdg-&pyxdg-version;.tar.gz">
84 <!ENTITY pyxdg-download-ftp " ">
85 <!ENTITY pyxdg-md5sum "bedcdb3a0ed85986d40044c87f23477c">
86 <!ENTITY pyxdg-size "48 KB">
87 <!ENTITY pyxdg-buildsize "800 KB">
88 <!ENTITY pyxdg-time "less than 0.1 SBU">
89]>
90
91<sect1 id="python-modules" xreflabel="Python modules">
92 <?dbhtml filename="python-modules.html" ?>
93
94 <sect1info>
95 <othername>$LastChangedBy$</othername>
96 <date>$Date$</date>
97 </sect1info>
98
99 <title>Python Modules</title>
100
101 <indexterm zone="python-modules">
102 <primary sortas="a-Python-modules">Python modules</primary>
103 </indexterm>
104
105 <sect2 role="package">
106 <title>Introduction to Python Modules</title>
107
108 <para>
109 The <application>Python</application> module packages add useful objects
110 to the <application>Python</application> language. Modules utilized by
111 packages throughout BLFS are listed here, along with their dependencies.
112 Installation of the modules shown on this page is meant to follow from top
113 to bottom to handle optional dependencies in each module.
114 </para>
115
116 <itemizedlist spacing="compact">
117 <listitem>
118 <para>
119 <xref linkend="dbus-python"/>
120 </para>
121 </listitem>
122 <listitem>
123 <para>
124 <xref linkend="notify-python"/>
125 </para>
126 </listitem>
127 <listitem>
128 <para>
129 <xref linkend="py2cairo"/>
130 </para>
131 </listitem>
132 <listitem>
133 <para>
134 <xref linkend="pycairo"/>
135 </para>
136 </listitem>
137 <listitem>
138 <para>
139 <xref linkend="pygobject2"/>
140 </para>
141 </listitem>
142 <listitem>
143 <para>
144 <xref linkend="pygobject3"/>
145 </para>
146 </listitem>
147 <listitem>
148 <para>
149 <xref linkend="pygtk"/>
150 </para>
151 </listitem>
152 <listitem>
153 <para>
154 <xref linkend="pyatspi2"/>
155 </para>
156 </listitem>
157 <listitem>
158 <para>
159 <xref linkend="pyrex"/>
160 </para>
161 </listitem>
162 <listitem>
163 <para>
164 <xref linkend="pyxdg"/>
165 </para>
166 </listitem>
167 </itemizedlist>
168 </sect2>
169
170 <!-- Begin D-Bus Python -->
171 <sect2 id="dbus-python" xreflabel="D-Bus Python-&dbus-python-version;">
172 <title>D-Bus Python</title>
173
174 <indexterm zone="dbus-python">
175 <primary sortas="a-dbus-python">dbus-python</primary>
176 </indexterm>
177
178 <sect3 role="package">
179 <title>Introduction to D-Bus Python Module</title>
180
181 <para>
182 <application>D-Bus Python</application> provides
183 <application>Python</application> bindings to the
184 <application>D-Bus</application>.
185 </para>
186
187 &lfs73_checked;
188
189 <bridgehead renderas="sect4">Package Information</bridgehead>
190 <itemizedlist spacing="compact">
191 <listitem>
192 <para>
193 Download (HTTP): <ulink url="&dbus-python-download-http;"/>
194 </para>
195 </listitem>
196 <listitem>
197 <para>
198 Download (FTP): <ulink url="&dbus-python-download-ftp;"/>
199 </para>
200 </listitem>
201 <listitem>
202 <para>
203 Download MD5 sum: &dbus-python-md5sum;
204 </para>
205 </listitem>
206 <listitem>
207 <para>
208 Download size: &dbus-python-size;
209 </para>
210 </listitem>
211 <listitem>
212 <para>
213 Estimated disk space required: &dbus-python-buildsize;
214 </para>
215 </listitem>
216 <listitem>
217 <para>
218 Estimated build time: &dbus-python-time;
219 </para>
220 </listitem>
221 </itemizedlist>
222
223 <bridgehead renderas="sect4">D-Bus Python Dependencies</bridgehead>
224
225 <bridgehead renderas="sect5">Required</bridgehead>
226 <para role="required">
227 <xref linkend="dbus-glib"/> and
228 <xref linkend="python2"/> and/or
229 <xref linkend="python3"/>
230 </para>
231
232 <bridgehead renderas="sect5">
233 Optional (Required to build the API and HTML Documentation)
234 </bridgehead>
235 <para role="optional">
236 <ulink url="http://epydoc.sourceforge.net/">Epydoc</ulink> and
237 <ulink url="http://docutils.sourceforge.net/">Docutils</ulink>
238 </para>
239
240 <para condition="html" role="usernotes">User Notes:
241 <ulink url="&blfs-wiki;/dbus-python"/>
242 </para>
243 </sect3>
244
245 <sect3 role="installation">
246 <title>Installation of D-Bus Python</title>
247
248 <note>
249 <para>
250 Both <application>Python 2</application> and
251 <application>Python 3</application> modules can
252 be built and installed without any conflicts.
253 </para>
254 </note>
255
256 <para>
257 To build <application>D-Bus Python</application> as the
258 <application>Python 2</application> module, run the
259 following commands:
260 </para>
261
262<screen><userinput>mkdir python2 &amp;&amp;
263pushd python2 &amp;&amp;
264PYTHON=/usr/bin/python \
265../configure --prefix=/usr \
266 --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &amp;&amp;
267make &amp;&amp;
268popd</userinput></screen>
269
270 <para>
271 To test the results, issue: <command>make -C python2 check</command>.
272 </para>
273
274 <para>
275 To build <application>D-Bus Python</application> as the
276 <application>Python 3</application> module, run the
277 following commands:
278 </para>
279
280<screen><userinput>mkdir python3 &amp;&amp;
281pushd python3 &amp;&amp;
282PYTHON=/usr/bin/python3 \
283../configure --prefix=/usr \
284 --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &amp;&amp;
285make &amp;&amp;
286popd</userinput></screen>
287
288 <para>
289 To test the results, issue: <command>make -C python3 check</command>.
290 </para>
291
292 <para>
293 To install the <application>Python 2</application> module,
294 run the following command as the
295 <systemitem class="username">root</systemitem> user:
296 </para>
297
298<screen role="root"><userinput>make -C python2 install</userinput></screen>
299
300 <para>
301 To install the <application>Python 3</application> module,
302 run the following command as the
303 <systemitem class="username">root</systemitem> user:
304 </para>
305
306<screen role="root"><userinput>make -C python3 install</userinput></screen>
307
308 </sect3>
309
310 <sect3 role="content">
311 <title>Contents</title>
312
313 <segmentedlist>
314 <segtitle>Installed Programs</segtitle>
315 <segtitle>Installed Libraries</segtitle>
316 <segtitle>Installed Directories</segtitle>
317
318 <seglistitem>
319 <seg>
320 None
321 </seg>
322 <seg>
323 None
324 </seg>
325 <seg>
326 /usr/share/doc/dbus-python-&dbus-python-version; and
327 /usr/lib/python&python2-majorver;/site-packages/dbus and/or
328 /usr/lib/python&python3-majorver;/site-packages/dbus
329 </seg>
330 </seglistitem>
331 </segmentedlist>
332
333 </sect3>
334
335 </sect2>
336 <!-- End D-Bus Python -->
337
338 <!-- Begin Notify Python -->
339 <sect2 id="notify-python" xreflabel="Notify Python-&notify-python-version;">
340
341 <title>Notify Python-&notify-python-version;</title>
342
343 <indexterm zone="notify-python">
344 <primary sortas="a-notify-python">notify-python</primary>
345 </indexterm>
346
347 <sect3 role="package">
348 <title>Introduction to Notify Python Module</title>
349
350 <para>
351 Notify Python provides <application>Python 2</application>
352 bindings to the <application>libnotify</application>.
353 </para>
354
355 &lfs72_checked;
356
357 <bridgehead renderas="sect4">Package Information</bridgehead>
358 <itemizedlist spacing="compact">
359 <listitem>
360 <para>
361 Download (HTTP): <ulink url="&notify-python-download-http;"/>
362 </para>
363 </listitem>
364 <listitem>
365 <para>
366 Download (FTP): <ulink url="&notify-python-download-ftp;"/>
367 </para>
368 </listitem>
369 <listitem>
370 <para>
371 Download MD5 sum: &notify-python-md5sum;
372 </para>
373 </listitem>
374 <listitem>
375 <para>
376 Download size: &notify-python-size;
377 </para>
378 </listitem>
379 <listitem>
380 <para>
381 Estimated disk space required: &notify-python-buildsize;
382 </para>
383 </listitem>
384 <listitem>
385 <para>
386 Estimated build time: &notify-python-time;
387 </para>
388 </listitem>
389 </itemizedlist>
390
391 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
392 <itemizedlist spacing="compact">
393 <listitem>
394 <para>
395 Required patch:
396 <ulink url="&patch-root;/notify-python-&notify-python-version;-libnotify-0.7-1.patch"/>
397 </para>
398 </listitem>
399 </itemizedlist>
400
401 <bridgehead renderas="sect4">Notify Python Dependencies</bridgehead>
402
403 <bridgehead renderas="sect5">Required</bridgehead>
404 <para role="required">
405 <xref linkend="libnotify"/> and
406 <xref linkend="pygtk"/> (with <xref linkend="gtk2"/> support).
407 </para>
408
409 <para condition="html" role="usernotes">
410 User Notes: <ulink url="&blfs-wiki;/notify-python"/>
411 </para>
412 </sect3>
413
414 <sect3 role="installation">
415 <title>Installation of Notify Python</title>
416
417 <para>
418 Install <application>Notify Python</application> by running the following
419 commands:
420 </para>
421
422<screen><userinput>patch -Np1 -i ../notify-python-&notify-python-version;-libnotify-0.7-1.patch &amp;&amp;
423./configure --prefix=/usr &amp;&amp;
424make</userinput></screen>
425
426 <para>
427 This package does not come with a testsuite.
428 </para>
429
430 <para>
431 Now, as the <systemitem class="username">root</systemitem> user:
432 </para>
433
434<screen role="root"><userinput>make install</userinput></screen>
435 </sect3>
436
437 <sect3 role="content">
438 <title>Contents</title>
439
440 <segmentedlist>
441 <segtitle>Installed Programs</segtitle>
442 <segtitle>Installed Libraries</segtitle>
443 <segtitle>Installed Directory</segtitle>
444
445 <seglistitem>
446 <seg>
447 None
448 </seg>
449 <seg>
450 None
451 </seg>
452 <seg>
453 /usr/lib/python&python2-majorver;/site-packages/gtk-2.0/pynotify
454 </seg>
455 </seglistitem>
456 </segmentedlist>
457 </sect3>
458 </sect2>
459 <!-- End Notify Python -->
460
461 <!-- Begin Py2cairo -->
462 <sect2 id="py2cairo" xreflabel="Py2cairo-&py2cairo-version;">
463
464 <title>Py2cairo-&py2cairo-version;</title>
465
466 <indexterm zone="py2cairo">
467 <primary sortas="a-Py2cairo">Py2cairo</primary>
468 </indexterm>
469
470 <sect3 role="package">
471 <title>Introduction to Py2cairo Module</title>
472
473 <para>
474 Py2cairo provides <application>Python 2</application> bindings to
475 <application>Cairo</application>.
476 </para>
477
478 &lfs73_checked;
479
480 <bridgehead renderas="sect4">Package Information</bridgehead>
481 <itemizedlist spacing="compact">
482 <listitem>
483 <para>
484 Download (HTTP): <ulink url="&py2cairo-download-http;"/>
485 </para>
486 </listitem>
487 <listitem>
488 <para>
489 Download (FTP): <ulink url="&py2cairo-download-ftp;"/>
490 </para>
491 </listitem>
492 <listitem>
493 <para>
494 Download MD5 sum: &py2cairo-md5sum;
495 </para>
496 </listitem>
497 <listitem>
498 <para>
499 Download size: &py2cairo-size;
500 </para>
501 </listitem>
502 <listitem>
503 <para>
504 Estimated disk space required: &py2cairo-buildsize;
505 </para>
506 </listitem>
507 <listitem>
508 <para>
509 Estimated build time: &py2cairo-time;
510 </para>
511 </listitem>
512 </itemizedlist>
513
514 <bridgehead renderas="sect4">Py2cairo Dependencies</bridgehead>
515
516 <bridgehead renderas="sect5">Required</bridgehead>
517 <para role="required">
518 <xref linkend="python2"/> and
519 <xref linkend="cairo"/>
520 </para>
521
522 <bridgehead renderas="sect5">Optional</bridgehead>
523 <para role="optional">
524 <ulink url="http://pytest.org">pytest</ulink>
525 </para>
526
527 <para condition="html" role="usernotes">
528 User Notes: <ulink url="&blfs-wiki;/py2cairo"/>
529 </para>
530 </sect3>
531
532 <sect3 role="installation">
533 <title>Installation of Py2cairo</title>
534
535 <para>
536 Install <application>Py2cairo</application> by running the following
537 commands:
538 </para>
539
540<screen><userinput>./waf configure --prefix=/usr &amp;&amp;
541./waf build</userinput></screen>
542
543 <para>
544 The test suite must be run after the package is installed.
545 </para>
546
547 <para>
548 Now, as the <systemitem class="username">root</systemitem> user:
549 </para>
550
551<screen role="root"><userinput>./waf install</userinput></screen>
552
553 <para>
554 The test suite requires the optional <application>pytest</application>
555 package. If installed, it is run by changing to the
556 <filename class='directory'>test</filename> directory and running
557 <userinput>py.test</userinput> an an unprivileged user.
558 </para>
559 </sect3>
560
561 <sect3 role="content">
562 <title>Contents</title>
563
564 <segmentedlist>
565 <segtitle>Installed Programs</segtitle>
566 <segtitle>Installed Library</segtitle>
567 <segtitle>Installed Directory</segtitle>
568
569 <seglistitem>
570 <seg>
571 None
572 </seg>
573 <seg>
574 _cairo.so
575 </seg>
576 <seg>
577 /usr/include/pycairo and
578 /usr/lib/python&python2-majorver;/site-packages/cairo
579 </seg>
580 </seglistitem>
581 </segmentedlist>
582 </sect3>
583 </sect2>
584 <!-- End Py2cairo -->
585
586 <!-- Begin PyCairo -->
587 <sect2 id="pycairo" xreflabel="PyCairo-&pycairo-version;">
588
589 <title>PyCairo-&pycairo-version;</title>
590
591 <indexterm zone="pycairo">
592 <primary sortas="a-PyCairo">PyCairo</primary>
593 </indexterm>
594
595 <sect3 role="package">
596 <title>Introduction to PyCairo Module</title>
597
598 <para>
599 Pycairo provides <application>Python 3</application> bindings to
600 <application>Cairo</application>.
601 </para>
602
603 &lfs73_checked;
604
605 <bridgehead renderas="sect4">Package Information</bridgehead>
606 <itemizedlist spacing="compact">
607 <listitem>
608 <para>
609 Download (HTTP): <ulink url="&pycairo-download-http;"/>
610 </para>
611 </listitem>
612 <listitem>
613 <para>
614 Download (FTP): <ulink url="&pycairo-download-ftp;"/>
615 </para>
616 </listitem>
617 <listitem>
618 <para>
619 Download MD5 sum: &pycairo-md5sum;
620 </para>
621 </listitem>
622 <listitem>
623 <para>
624 Download size: &pycairo-size;
625 </para>
626 </listitem>
627 <listitem>
628 <para>
629 Estimated disk space required: &pycairo-buildsize;
630 </para>
631 </listitem>
632 <listitem>
633 <para>
634 Estimated build time: &pycairo-time;
635 </para>
636 </listitem>
637 </itemizedlist>
638
639 <bridgehead renderas="sect4">PyCairo Dependencies</bridgehead>
640
641 <bridgehead renderas="sect5">Required</bridgehead>
642 <para role="required">
643 <xref linkend="cairo"/> and
644 <xref linkend="python3"/>
645 </para>
646
647 <para condition="html" role="usernotes">
648 User Notes: <ulink url="&blfs-wiki;/pycairo"/>
649 </para>
650 </sect3>
651
652 <sect3 role="installation">
653 <title>Installation of PyCairo</title>
654
655 <para>
656 Install <application>PyCairo</application> by running the following
657 commands:
658 </para>
659
660<screen><userinput>PYTHON=/usr/bin/python3 ./waf configure --prefix=/usr &amp;&amp;
661./waf build</userinput></screen>
662
663 <para>
664 This package does not come with a test suite.
665 </para>
666
667 <para>
668 Now, as the <systemitem class="username">root</systemitem> user:
669 </para>
670
671<screen role="root"><userinput>./waf install</userinput></screen>
672
673 </sect3>
674
675 <sect3 role="content">
676 <title>Contents</title>
677
678 <segmentedlist>
679 <segtitle>Installed Programs</segtitle>
680 <segtitle>Installed Library</segtitle>
681 <segtitle>Installed Directory</segtitle>
682
683 <seglistitem>
684 <seg>
685 None
686 </seg>
687 <seg>
688 None
689 </seg>
690 <seg>
691 /usr/include/pycairo and
692 /usr/lib/python&python3-majorver;/site-packages/cairo
693 </seg>
694 </seglistitem>
695 </segmentedlist>
696 </sect3>
697 </sect2>
698 <!-- End PyCairo -->
699
700 <!-- Begin PyGObject2 -->
701 <sect2 id="pygobject2" xreflabel="PyGObject-&pygobject2-version;">
702
703 <title>PyGObject-&pygobject2-version;</title>
704
705 <indexterm zone="pygobject2">
706 <primary sortas="a-PyGObject">PyGObject</primary>
707 </indexterm>
708
709 <sect3 role="package">
710 <title>Introduction to PyGObject Module</title>
711
712 <para>
713 PyGObject-&pygobject2-version; provides
714 <application>Python 2</application> bindings to the GObject class from
715 <application>GLib</application>.
716 </para>
717
718 &lfs73_checked;
719
720 <bridgehead renderas="sect4">Package Information</bridgehead>
721 <itemizedlist spacing="compact">
722 <listitem>
723 <para>
724 Download (HTTP): <ulink url="&pygobject2-download-http;"/>
725 </para>
726 </listitem>
727 <listitem>
728 <para>
729 Download (FTP): <ulink url="&pygobject2-download-ftp;"/>
730 </para>
731 </listitem>
732 <listitem>
733 <para>
734 Download MD5 sum: &pygobject2-md5sum;
735 </para>
736 </listitem>
737 <listitem>
738 <para>
739 Download size: &pygobject2-size;
740 </para>
741 </listitem>
742 <listitem>
743 <para>
744 Estimated disk space required: &pygobject2-buildsize;
745 </para>
746 </listitem>
747 <listitem>
748 <para>
749 Estimated build time: &pygobject2-time;
750 </para>
751 </listitem>
752 </itemizedlist>
753
754 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
755 <itemizedlist spacing="compact">
756 <listitem>
757 <para>
758 Optional patch:
759 <ulink url="&patch-root;/pygobject-&pygobject2-version;-introspection-1.patch"/>
760 </para>
761 </listitem>
762 </itemizedlist>
763
764 <bridgehead renderas="sect4">PyGObject Dependencies</bridgehead>
765
766 <bridgehead renderas="sect5">Required</bridgehead>
767 <para role="required">
768 <xref linkend="glib2"/> and
769 <xref linkend="py2cairo"/>
770 </para>
771
772 <bridgehead renderas="sect5">Optional</bridgehead>
773 <para role="optional">
774 <xref linkend="gobject-introspection"/> and
775 <xref linkend="libxslt"/> (to Build Documentation)
776 </para>
777
778 <para condition="html" role="usernotes">
779 User Notes: <ulink url="&blfs-wiki;/pygobject2"/>
780 </para>
781 </sect3>
782
783 <sect3 role="installation">
784 <title>Installation of PyGObject</title>
785
786 <para>
787 If you have installed <xref linkend="gobject-introspection"/>, apply the
788 required patch by running the following commands:
789 </para>
790
791<screen><userinput>patch -p1 &lt; ../pygobject-&pygobject2-version;-introspection-1.patch</userinput></screen>
792
793 <para>
794 Install <application>PyGObject</application> by running the following
795 commands:
796 </para>
797
798<screen><userinput>./configure --prefix=/usr --disable-introspection &amp;&amp;
799make</userinput></screen>
800
801 <para>
802 This package does not have a working testsuite.
803 </para>
804
805 <para>
806 Now, as the <systemitem class="username">root</systemitem> user:
807 </para>
808
809<screen role="root"><userinput>make install</userinput></screen>
810 </sect3>
811
812 <sect3 role="commands">
813 <title>Command Explanations</title>
814
815 <para>
816 <option>--disable-introspection</option>: Omit this switch if you have
817 installed <xref linkend="gobject-introspection"/>. Note that it
818 conflicts with <xref linkend="pygobject3"/>.
819 </para>
820
821 <para>
822 <option>--disable-docs</option>: This option disables the rebuilding of
823 the html documentation if <xref linkend="libxslt"/> is installed.
824 </para>
825
826 </sect3>
827
828 <sect3 role="content">
829 <title>Contents</title>
830
831 <segmentedlist>
832 <segtitle>Installed Programs</segtitle>
833 <segtitle>Installed Libraries</segtitle>
834 <segtitle>Installed Directories</segtitle>
835
836 <seglistitem>
837 <seg>pygobject-codegen-2.0</seg>
838 <seg>
839 libpyglib-2.0-python.so,
840 _gio.so,
841 unix.so,
842 _glib.so and
843 _gobject.so.
844 </seg>
845 <seg>
846 /usr/include/pygtk-2.0,
847 /usr/lib/python&python2-majorver;/site-packages/gtk-2.0/{gio,glib,gobject},
848 /usr/share/gtk-doc/html/pygobject and
849 /usr/share/pygobject/2.0
850 </seg>
851 </seglistitem>
852 </segmentedlist>
853 </sect3>
854 </sect2>
855 <!-- End PyGObject2 -->
856
857 <!-- Begin PyGObject3 -->
858 <sect2 id="pygobject3" xreflabel="PyGObject-&pygobject3-version;">
859
860 <title>PyGObject-&pygobject3-version;</title>
861
862 <indexterm zone="pygobject3">
863 <primary sortas="a-PyGObject3">PyGObject3</primary>
864 </indexterm>
865
866 <sect3 role="package">
867 <title>Introduction to PyGObject3 Module</title>
868
869 <para>
870 <application>PyGObject3</application> provides
871 <application>Python</application> bindings to the GObject
872 class from <application>GLib</application>.
873 </para>
874
875 &lfs73_checked;
876
877 <bridgehead renderas="sect4">Package Information</bridgehead>
878 <itemizedlist spacing="compact">
879 <listitem>
880 <para>
881 Download (HTTP): <ulink url="&pygobject3-download-http;"/>
882 </para>
883 </listitem>
884 <listitem>
885 <para>
886 Download (FTP): <ulink url="&pygobject3-download-ftp;"/>
887 </para>
888 </listitem>
889 <listitem>
890 <para>
891 Download MD5 sum: &pygobject3-md5sum;
892 </para>
893 </listitem>
894 <listitem>
895 <para>
896 Download size: &pygobject3-size;
897 </para>
898 </listitem>
899 <listitem>
900 <para>
901 Estimated disk space required: &pygobject3-buildsize;
902 </para>
903 </listitem>
904 <listitem>
905 <para>
906 Estimated build time: &pygobject3-time;
907 </para>
908 </listitem>
909 </itemizedlist>
910
911 <bridgehead renderas="sect4">PyGObject3 Dependencies</bridgehead>
912
913 <bridgehead renderas="sect5">Required</bridgehead>
914 <para role="required">
915 <xref linkend="gobject-introspection"/> and
916 <xref linkend="py2cairo"/>
917 (for <application>Python 2</application> bindings) and/or
918 <xref linkend="pycairo"/>
919 (for <application>Python 3</application> bindings)
920 </para>
921
922 <para condition="html" role="usernotes">
923 User Notes: <ulink url="&blfs-wiki;/pygobject3"/>
924 </para>
925 </sect3>
926
927 <sect3 role="installation">
928 <title>Installation of PyGObject3</title>
929
930 <note>
931 <para>
932 Both <application>Python 2</application> and
933 <application>Python 3</application> modules can
934 be built and installed without any conflicts.
935 </para>
936 </note>
937
938 <para>
939 To build <application>PyGObject3</application> as the
940 <application>Python 2</application> module, run the
941 following commands:
942 </para>
943
944<screen><userinput>mkdir python2 &amp;&amp;
945pushd python2 &amp;&amp;
946../configure --prefix=/usr --with-python=/usr/bin/python &amp;&amp;
947make &amp;&amp;
948popd</userinput></screen>
949
950 <para>
951 To test the results, issue: <command>make -C python2 check</command>.
952 </para>
953
954 <para>
955 To build <application>PyGObject3</application> as the
956 <application>Python 3</application> module, run the
957 following commands:
958 </para>
959
960<screen><userinput>mkdir python3 &amp;&amp;
961pushd python3 &amp;&amp;
962../configure --prefix=/usr --with-python=/usr/bin/python3 &amp;&amp;
963make &amp;&amp;
964popd</userinput></screen>
965
966 <para>
967 To test the results, issue: <command>make -C python3 check</command>.
968 </para>
969
970 <para>
971 To install the <application>Python 2</application> module,
972 run the following command as the
973 <systemitem class="username">root</systemitem> user:
974 </para>
975
976<screen role="root"><userinput>make -C python2 install</userinput></screen>
977
978 <para>
979 To install the <application>Python 3</application> module,
980 run the following command as the
981 <systemitem class="username">root</systemitem> user:
982 </para>
983
984<screen role="root"><userinput>make -C python3 install</userinput></screen>
985
986 </sect3>
987
988 <sect3 role="content">
989 <title>Contents</title>
990
991 <segmentedlist>
992 <segtitle>Installed Programs</segtitle>
993 <segtitle>Installed Library</segtitle>
994 <segtitle>Installed Directories</segtitle>
995
996 <seglistitem>
997 <seg>
998 None
999 </seg>
1000 <seg>
1001 libpyglib-gi-2.0-python.so and/or
1002 libpyglib-gi-2.0-python3.so
1003 </seg>
1004 <seg>
1005 /usr/include/pygobject-3.0 and
1006 /usr/lib/python&python2-majorver;/site-packages/{gi,pygtkcompat} and/or
1007 /usr/lib/python&python3-majorver;/site-packages/{gi,pygtkcompat}
1008 </seg>
1009 </seglistitem>
1010 </segmentedlist>
1011
1012 </sect3>
1013
1014 </sect2>
1015 <!-- End PyGObject -->
1016
1017 <!-- Begin PyGTK -->
1018 <sect2 id="pygtk" xreflabel="PyGTK-&pygtk-version;">
1019
1020 <title>PyGTK-&pygtk-version;</title>
1021
1022 <indexterm zone="pygtk">
1023 <primary sortas="a-PyGTK">PyGTK</primary>
1024 </indexterm>
1025
1026 <sect3 role="package">
1027 <title>Introduction to PyGTK Module</title>
1028
1029 <para>
1030 PyGTK lets you to easily create programs with a graphical user interface
1031 using the <application>Python</application> programming language.
1032 </para>
1033
1034 &lfs73_checked;
1035
1036 <bridgehead renderas="sect4">Package Information</bridgehead>
1037 <itemizedlist spacing="compact">
1038 <listitem>
1039 <para>
1040 Download (HTTP): <ulink url="&pygtk-download-http;"/>
1041 </para>
1042 </listitem>
1043 <listitem>
1044 <para>
1045 Download (FTP): <ulink url="&pygtk-download-ftp;"/>
1046 </para>
1047 </listitem>
1048 <listitem>
1049 <para>
1050 Download MD5 sum: &pygtk-md5sum;
1051 </para>
1052 </listitem>
1053 <listitem>
1054 <para>
1055 Download size: &pygtk-size;
1056 </para>
1057 </listitem>
1058 <listitem>
1059 <para>
1060 Estimated disk space required: &pygtk-buildsize;
1061 </para>
1062 </listitem>
1063 <listitem>
1064 <para>
1065 Estimated build time: &pygtk-time;
1066 </para>
1067 </listitem>
1068 </itemizedlist>
1069
1070 <bridgehead renderas="sect4">PyGTK Dependencies</bridgehead>
1071
1072 <bridgehead renderas="sect5">Required</bridgehead>
1073 <para role="required">
1074 <xref linkend="pygobject2"/>
1075 </para>
1076
1077 <bridgehead renderas="sect5">Required (atk module)</bridgehead>
1078 <para role="required">
1079 <xref linkend="atk"/>
1080 </para>
1081
1082 <bridgehead renderas="sect5">Required (pango module)</bridgehead>
1083 <para role="required">
1084 <xref linkend="pango"/>
1085 </para>
1086
1087 <bridgehead renderas="sect5">Required (pangocairo module)</bridgehead>
1088 <para role="required">
1089 <xref linkend="py2cairo"/> and
1090 <xref linkend="pango"/>
1091 </para>
1092
1093 <bridgehead renderas="sect5">Required (gtk and gtk.unixprint modules)</bridgehead>
1094 <para role="required">
1095 <xref linkend="py2cairo"/> and
1096 <xref linkend="gtk2"/>.
1097 </para>
1098
1099 <bridgehead renderas="sect5">Required (gtk.glade module)</bridgehead>
1100 <para role="required">
1101 <xref linkend="py2cairo"/> and
1102 <xref linkend="libglade"/>.
1103 </para>
1104
1105 <bridgehead renderas="sect5">Optional</bridgehead>
1106 <para role="optional">
1107 <ulink url="http://sourceforge.net/projects/numpy/">NumPy</ulink>
1108 </para>
1109
1110 <bridgehead renderas="sect5">Optional (to Build Documentation)</bridgehead>
1111 <para role="optional">
1112 <xref linkend="libxslt"/>
1113 </para>
1114
1115 <para condition="html" role="usernotes">
1116 User Notes: <ulink url="&blfs-wiki;/pygtk"/>
1117 </para>
1118 </sect3>
1119
1120 <sect3 role="installation">
1121 <title>Installation of PyGTK</title>
1122
1123 <para>
1124 Install <application>PyGTK</application> by running the following
1125 commands:
1126 </para>
1127
1128<screen><userinput>./configure --prefix=/usr &amp;&amp;
1129make</userinput></screen>
1130
1131 <para>
1132 The tests must be run from an active X display. If this is so, issue:
1133 <command>make check</command>.
1134 </para>
1135
1136 <para>
1137 Now, as the <systemitem class="username">root</systemitem> user:
1138 </para>
1139
1140<screen role="root"><userinput>make install</userinput></screen>
1141 </sect3>
1142
1143 <sect3 role="commands">
1144 <title>Command Explanations</title>
1145
1146 <para>
1147 <parameter>--enable-docs</parameter>: This option enables rebuilding the
1148 html documentation if <xref linkend="libxslt"/> is installed.
1149 </para>
1150 </sect3>
1151
1152 <sect3 role="content">
1153 <title>Contents</title>
1154
1155 <segmentedlist>
1156 <segtitle>Installed Programs</segtitle>
1157 <segtitle>Installed Libraries</segtitle>
1158 <segtitle>Installed Directories</segtitle>
1159
1160 <seglistitem>
1161 <seg>pygtk-codegen-2.0 and pygtk-demo.</seg>
1162 <seg>
1163 atk.so,
1164 _gtk.so,
1165 glade.so,
1166 gtkunixprint.so,
1167 pango.so and
1168 pangocairo.so.
1169 </seg>
1170 <seg>
1171 /usr/include/pygtk-2.0,
1172 /usr/lib/pygtk,
1173 /usr/lib/python&python2-majorver;/site-packages/gtk-2.0,
1174 /usr/share/gtk-doc/html/pygtk and
1175 /usr/share/pygtk.
1176 </seg>
1177 </seglistitem>
1178 </segmentedlist>
1179
1180 <variablelist>
1181 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
1182 <?dbfo list-presentation="list"?>
1183 <?dbhtml list-presentation="table"?>
1184
1185 <varlistentry id="pygtk-codegen-2.0">
1186 <term><command>pygtk-codegen-2.0</command></term>
1187 <listitem>
1188 <para>
1189 is a wrapper script to run the <application>PyGTK</application>
1190 codegen module.
1191 </para>
1192 <indexterm zone="pygtk pygtk-codegen-2.0">
1193 <primary sortas="b-pygtk-codegen-2.0">pygtk-codegen-2.0</primary>
1194 </indexterm>
1195 </listitem>
1196 </varlistentry>
1197
1198 <varlistentry id="pygtk-demo">
1199 <term><command>pygtk-demo</command></term>
1200 <listitem>
1201 <para>
1202 is a Python wrapper to run the <application>PyGTK</application>
1203 demo program.
1204 </para>
1205 <indexterm zone="pygtk pygtk-demo">
1206 <primary sortas="b-pygtk-demo">pygtk-demo</primary>
1207 </indexterm>
1208 </listitem>
1209 </varlistentry>
1210 </variablelist>
1211 </sect3>
1212 </sect2>
1213 <!-- End PyGTK -->
1214
1215 <!-- Begin pyatspi2 -->
1216 <sect2 id="pyatspi2" xreflabel="PyAtSpi2-&pyatspi2-version;">
1217
1218 <title>PyAtSpi2-&pyatspi2-version;</title>
1219
1220 <indexterm zone="pyatspi2">
1221 <primary sortas="a-PyAtSpi2">PyAtSpi2</primary>
1222 </indexterm>
1223
1224 <sect3 role="package">
1225 <title>Introduction to PyAtSpi2</title>
1226
1227 <para>
1228 The <application>PyAtSpi2</application> package contains Python2
1229 bindings for the core components of GNOME Accessibility.
1230 </para>
1231
1232 &lfs72_checked;
1233
1234 <bridgehead renderas="sect4">Package Information</bridgehead>
1235 <itemizedlist spacing="compact">
1236 <listitem>
1237 <para>
1238 Download (HTTP): <ulink url="&pyatspi2-download-http;"/>
1239 </para>
1240 </listitem>
1241 <listitem>
1242 <para>
1243 Download (FTP): <ulink url="&pyatspi2-download-ftp;"/>
1244 </para>
1245 </listitem>
1246 <listitem>
1247 <para>
1248 Download MD5 sum: &pyatspi2-md5sum;
1249 </para>
1250 </listitem>
1251 <listitem>
1252 <para>
1253 Download size: &pyatspi2-size;
1254 </para>
1255 </listitem>
1256 <listitem>
1257 <para>
1258 Estimated disk space required: &pyatspi2-buildsize;
1259 </para>
1260 </listitem>
1261 <listitem>
1262 <para>
1263 Estimated build time: &pyatspi2-time;
1264 </para>
1265 </listitem>
1266 </itemizedlist>
1267
1268 <bridgehead renderas="sect4">PyAtSpi2 Dependencies</bridgehead>
1269
1270 <bridgehead renderas="sect5">Required</bridgehead>
1271 <para role="required">
1272 <xref linkend="pygobject3"/>
1273 </para>
1274
1275 <bridgehead renderas="sect5">Recommended</bridgehead>
1276 <para role="recommended">
1277 <xref linkend="at-spi2-core"/>
1278 </para>
1279
1280 <para condition="html" role="usernotes">
1281 User Notes: <ulink url="&blfs-wiki;/pyatspi2"/>
1282 </para>
1283
1284 </sect3>
1285
1286 <sect3 role="installation">
1287 <title>Installation of PyAtSpi2</title>
1288
1289 <note>
1290 <para>
1291 Both <application>Python 2</application> and
1292 <application>Python 3</application> modules can
1293 be built and installed without any conflicts.
1294 </para>
1295 </note>
1296
1297 <para>
1298 To build <application>PyAtSpi2</application> as the
1299 <application>Python 2</application> module, run the
1300 following commands:
1301 </para>
1302
1303<screen><userinput>mkdir python2 &amp;&amp;
1304pushd python2 &amp;&amp;
1305../configure --prefix=/usr --with-python=/usr/bin/python &amp;&amp;
1306make &amp;&amp;
1307popd</userinput></screen>
1308
1309 <para>
1310 To build <application>PyAtSpi2</application> as the
1311 <application>Python 3</application> module, run the
1312 following commands:
1313 </para>
1314
1315<screen><userinput>mkdir python3 &amp;&amp;
1316pushd python3 &amp;&amp;
1317../configure --prefix=/usr --with-python=/usr/bin/python3 &amp;&amp;
1318make &amp;&amp;
1319popd</userinput></screen>
1320
1321 <para>
1322 This package does not come with a testsuite.
1323 </para>
1324
1325 <para>
1326 To install the <application>Python 2</application> module,
1327 run the following command as the
1328 <systemitem class="username">root</systemitem> user:
1329 </para>
1330
1331<screen role="root"><userinput>make -C python2 install</userinput></screen>
1332
1333 <para>
1334 To install the <application>Python 3</application> module,
1335 run the following command as the
1336 <systemitem class="username">root</systemitem> user:
1337 </para>
1338
1339<screen role="root"><userinput>make -C python3 install</userinput></screen>
1340
1341 </sect3>
1342
1343 <sect3 role="content">
1344 <title>Contents</title>
1345
1346 <segmentedlist>
1347 <segtitle>Installed Programs</segtitle>
1348 <segtitle>Installed Libraries</segtitle>
1349 <segtitle>Installed Directory</segtitle>
1350
1351 <seglistitem>
1352 <seg>
1353 None
1354 </seg>
1355 <seg>
1356 None
1357 </seg>
1358 <seg>
1359 /usr/lib/python&python2-majorver;/site-packages/pyatspi and/or
1360 /usr/lib/python&python3-majorver;/site-packages/pyatspi
1361 </seg>
1362 </seglistitem>
1363 </segmentedlist>
1364
1365 </sect3>
1366
1367 </sect2>
1368 <!-- End pyatspi2 -->
1369
1370 <!-- Begin Pyrex -->
1371 <sect2 id="pyrex" xreflabel="Pyrex-&pyrex-version;">
1372
1373 <title>Pyrex-&pyrex-version;</title>
1374
1375 <indexterm zone="pyrex">
1376 <primary sortas="a-Pyrex">pyrex</primary>
1377 </indexterm>
1378
1379 <sect3 role="package">
1380 <title>Introduction to Pyrex Module</title>
1381
1382 <para>
1383 <application>Pyrex</application> is language used for writing
1384 <application>Python</application> extension modules.
1385 </para>
1386
1387 &lfs72_checked;
1388
1389 <bridgehead renderas="sect4">Package Information</bridgehead>
1390 <itemizedlist spacing="compact">
1391 <listitem>
1392 <para>
1393 Download (HTTP): <ulink url="&pyrex-download-http;"/>
1394 </para>
1395 </listitem>
1396 <listitem>
1397 <para>
1398 Download (FTP): <ulink url="&pyrex-download-ftp;"/>
1399 </para>
1400 </listitem>
1401 <listitem>
1402 <para>
1403 Download MD5 sum: &pyrex-md5sum;
1404 </para>
1405 </listitem>
1406 <listitem>
1407 <para>
1408 Download size: &pyrex-size;
1409 </para>
1410 </listitem>
1411 <listitem>
1412 <para>
1413 Estimated disk space required: &pyrex-buildsize;
1414 </para>
1415 </listitem>
1416 <listitem>
1417 <para>
1418 Estimated build time: &pyrex-time;
1419 </para>
1420 </listitem>
1421 </itemizedlist>
1422
1423 <bridgehead renderas="sect4">Pyrex Dependencies</bridgehead>
1424
1425 <bridgehead renderas="sect5">Required</bridgehead>
1426 <para role="required">
1427 <xref linkend="python2"/>
1428 </para>
1429
1430 <para condition="html" role="usernotes">
1431 User Notes: <ulink url="&blfs-wiki;/pyrex"/>
1432 </para>
1433 </sect3>
1434
1435 <sect3 role="installation">
1436 <title>Installation of Pyrex</title>
1437
1438 <para>
1439 Install <application>pyrex</application> by running the following
1440 commands as the <systemitem class="username">root</systemitem> user:
1441 </para>
1442
1443<screen role="root"><userinput>python setup.py install</userinput></screen>
1444
1445 </sect3>
1446
1447 <sect3 role="content">
1448 <title>Contents</title>
1449
1450 <segmentedlist>
1451 <segtitle>Installed Program</segtitle>
1452 <segtitle>Installed Libraries</segtitle>
1453 <segtitle>Installed Directory</segtitle>
1454
1455 <seglistitem>
1456 <seg>
1457 pyrexc
1458 </seg>
1459 <seg>
1460 None
1461 </seg>
1462 <seg>
1463 /usr/lib/python&python2-majorver;/site-packages/Pyrex
1464 </seg>
1465 </seglistitem>
1466 </segmentedlist>
1467
1468 </sect3>
1469
1470 </sect2>
1471 <!-- End Pyrex -->
1472
1473 <!-- Begin PyXDG -->
1474 <sect2 id="pyxdg" xreflabel="PyXDG-&pyxdg-version;">
1475
1476 <title>PyXDG-&pyxdg-version;</title>
1477
1478 <indexterm zone="pyxdg">
1479 <primary sortas="a-PyXDG">PyXDG</primary>
1480 </indexterm>
1481
1482 <sect3 role="package">
1483 <title>Introduction to PyXDG Module</title>
1484
1485 <para>
1486 <application>PyXDG</application> is a <application>Python</application>
1487 library to access freedesktop.org standards.
1488 </para>
1489
1490 &lfs73_checked;
1491
1492 <bridgehead renderas="sect4">Package Information</bridgehead>
1493 <itemizedlist spacing="compact">
1494 <listitem>
1495 <para>
1496 Download (HTTP): <ulink url="&pyxdg-download-http;"/>
1497 </para>
1498 </listitem>
1499 <listitem>
1500 <para>
1501 Download (FTP): <ulink url="&pyxdg-download-ftp;"/>
1502 </para>
1503 </listitem>
1504 <listitem>
1505 <para>
1506 Download MD5 sum: &pyxdg-md5sum;
1507 </para>
1508 </listitem>
1509 <listitem>
1510 <para>
1511 Download size: &pyxdg-size;
1512 </para>
1513 </listitem>
1514 <listitem>
1515 <para>
1516 Estimated disk space required: &pyxdg-buildsize;
1517 </para>
1518 </listitem>
1519 <listitem>
1520 <para>
1521 Estimated build time: &pyxdg-time;
1522 </para>
1523 </listitem>
1524 </itemizedlist>
1525
1526 <bridgehead renderas="sect4">PyXDG Dependencies</bridgehead>
1527
1528 <bridgehead renderas="sect5">Required</bridgehead>
1529 <para role="required">
1530 <xref linkend="python2"/> and/or
1531 <xref linkend="python3"/>
1532 </para>
1533
1534 <para condition="html" role="usernotes">
1535 User Notes: <ulink url="&blfs-wiki;/pyxdg"/>
1536 </para>
1537 </sect3>
1538
1539 <sect3 role="installation">
1540 <title>Installation of PyXDG</title>
1541
1542 <note>
1543 <para>
1544 Both <application>Python 2</application> and
1545 <application>Python 3</application> modules can
1546 be built and installed without any conflicts.
1547 </para>
1548 </note>
1549
1550 <para>
1551 To install the <application>Python 2</application> module,
1552 run the following command as the
1553 <systemitem class="username">root</systemitem> user:
1554 </para>
1555
1556<screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen>
1557
1558 <para>
1559 To install the <application>Python 3</application> module,
1560 run the following command as the
1561 <systemitem class="username">root</systemitem> user:
1562 </para>
1563
1564<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
1565
1566 </sect3>
1567
1568 <sect3 role="content">
1569 <title>Contents</title>
1570
1571 <segmentedlist>
1572 <segtitle>Installed Directory</segtitle>
1573
1574 <seglistitem>
1575 <seg>
1576 /usr/lib/python&python2-majorver;/site-packages/xdg and/or
1577 /usr/lib/python&python3-majorver;/site-packages/xdg
1578 </seg>
1579 </seglistitem>
1580 </segmentedlist>
1581
1582 </sect3>
1583
1584 </sect2>
1585 <!--End PyXDG -->
1586
1587</sect1>
Note: See TracBrowser for help on using the repository browser.