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

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 f3ff443 was f3ff443, checked in by Krejzi <krejzi@…>, 11 years ago

command->commands

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

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