source: general/prog/python-modules.xml@ 66b546a

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 66b546a was 66b546a, checked in by Andrew Benton <andy@…>, 12 years ago

python module tweaks

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

  • Property mode set to 100644
File size: 52.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 pyxml-download-http
8 "&sourceforge-repo;/pyxml/PyXML-&pyxml-version;.tar.gz">
9 <!ENTITY pyxml-download-ftp "&gentoo-ftp-repo;/PyXML-&pyxml-version;.tar.gz">
10 <!ENTITY pyxml-md5sum "1f7655050cebbb664db976405fdba209">
11 <!ENTITY pyxml-size "734 KB">
12 <!ENTITY pyxml-buildsize "14.6 MB">
13 <!ENTITY pyxml-time "less than 0.1 SBU">
14
15 <!ENTITY pycairo-download-http
16 "http://cairographics.org/releases/pycairo-&pycairo-version;.tar.gz">
17 <!ENTITY pycairo-download-ftp " ">
18 <!ENTITY pycairo-md5sum "054da6c125cb427a003f5fd6c54f853e">
19 <!ENTITY pycairo-size "465 KB">
20 <!ENTITY pycairo-buildsize "3 MB">
21 <!ENTITY pycairo-time "0.1 SBU">
22
23 <!ENTITY py2cairo-download-http
24 "http://cairographics.org/releases/py2cairo-&py2cairo-version;.tar.bz2">
25 <!ENTITY py2cairo-download-ftp " ">
26 <!ENTITY py2cairo-md5sum "20337132c4ab06c1146ad384d55372c5">
27 <!ENTITY py2cairo-size "400 KB">
28 <!ENTITY py2cairo-buildsize "3.6 MB">
29 <!ENTITY py2cairo-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.0/pygobject-&pygobject3-version;.tar.xz">
42 <!ENTITY pygobject3-download-ftp
43 "&gnome-download-ftp;/pygobject/3.0/pygobject-&pygobject3-version;.tar.xz">
44 <!ENTITY pygobject3-md5sum "d17e2565e139d647e8ee50fd1126aa9e">
45 <!ENTITY pygobject3-size "540 KB">
46 <!ENTITY pygobject3-buildsize "16 MB">
47 <!ENTITY pygobject3-time "0.2 SBU">
48
49 <!ENTITY pygtk-download-http
50 "&gnome-download-http;/pygtk/2.17/pygtk-&pygtk-version;.tar.bz2">
51 <!ENTITY pygtk-download-ftp
52 "&gnome-download-ftp;/pygtk/2.17/pygtk-&pygtk-version;.tar.bz2">
53 <!ENTITY pygtk-md5sum "43d704343d7ca04a6e4ddd4fa73a3c55">
54 <!ENTITY pygtk-size "2.2 MB">
55 <!ENTITY pygtk-buildsize "65 MB">
56 <!ENTITY pygtk-time "0.7 SBU">
57
58 <!ENTITY pygtksourceview-download-http
59 "&gnome-download-http;/pygtksourceview/2.10/pygtksourceview-&pygtksourceview-version;.tar.bz2">
60 <!ENTITY pygtksourceview-download-ftp
61 "&gnome-download-ftp;/pygtksourceview/2.10/pygtksourceview-&pygtksourceview-version;.tar.bz2">
62 <!ENTITY pygtksourceview-md5sum "2654354d61422fb79d8375fc3a3b5393">
63 <!ENTITY pygtksourceview-size "283 KB">
64 <!ENTITY pygtksourceview-buildsize "5 MB">
65 <!ENTITY pygtksourceview-time "0.4 SBU">
66
67 <!ENTITY pyatspi2-download-http
68 "&gnome-download-http;/pyatspi/2.2/pyatspi-&pyatspi2-version;.tar.xz">
69 <!ENTITY pyatspi2-download-ftp
70 "&gnome-download-ftp;/pyatspi/2.2/pyatspi-&pyatspi2-version;.tar.xz">
71 <!ENTITY pyatspi2-md5sum "9e3abb0d33bdf66e025cc16588095cba">
72 <!ENTITY pyatspi2-size "260 KB">
73 <!ENTITY pyatspi2-buildsize "3.7 MB">
74 <!ENTITY pyatspi2-time "less than 0.1 SBU">
75
76 <!ENTITY pyxdg-download-http
77 "http://www.freedesktop.org/~lanius/pyxdg-&pyxdg-version;.tar.gz">
78 <!ENTITY pyxdg-download-ftp " ">
79 <!ENTITY pyxdg-md5sum "9f33542e846d0fc1e0bfa992a8555b0a">
80 <!ENTITY pyxdg-size "38 KB">
81 <!ENTITY pyxdg-buildsize "728 KB">
82 <!ENTITY pyxdg-time "less than 0.1 SBU">
83
84 <!ENTITY ipython-download-http
85 "http://archive.ipython.org/release/&ipython-version;/ipython-&ipython-version;.tar.gz">
86 <!ENTITY ipython-download-ftp "">
87 <!ENTITY ipython-md5sum "4cf9f23b1171b3517f9a7a2bfc875b5f">
88 <!ENTITY ipython-size "8.9 MB">
89 <!ENTITY ipython-buildsize "58 MB">
90 <!ENTITY ipython-time "less than 0.1 SBU">
91]>
92
93<sect1 id="python-modules" xreflabel="Python modules">
94 <?dbhtml filename="python-modules.html" ?>
95
96 <sect1info>
97 <othername>$LastChangedBy$</othername>
98 <date>$Date$</date>
99 </sect1info>
100
101 <title>Python Modules</title>
102
103 <indexterm zone="python-modules">
104 <primary sortas="a-Python-modules">Python modules</primary>
105 </indexterm>
106
107 <sect2 role="package">
108 <title>Introduction to Python Modules</title>
109
110 <para>
111 The <application>Python</application> module packages add useful objects
112 to the <application>Python</application> language. Modules utilized by
113 packages throughout BLFS are listed here, along with their dependencies.
114 Installation of the modules shown on this page is meant to follow from top
115 to bottom to handle optional dependencies in each module.
116 </para>
117
118 <itemizedlist spacing="compact">
119 <listitem>
120 <para>
121 <xref linkend="pyxml"/>
122 </para>
123 </listitem>
124 <listitem>
125 <para>
126 <xref linkend="py2cairo"/>
127 </para>
128 </listitem>
129 <listitem>
130 <para>
131 <xref linkend="pycairo"/>
132 </para>
133 </listitem>
134 <listitem>
135 <para>
136 <xref linkend="pygobject2"/>
137 </para>
138 </listitem>
139 <listitem>
140 <para>
141 <xref linkend="pygobject3"/>
142 </para>
143 </listitem>
144 <listitem>
145 <para>
146 <xref linkend="pygtk"/>
147 </para>
148 </listitem>
149 <listitem>
150 <para>
151 <xref linkend="pygtksourceview"/>
152 </para>
153 </listitem>
154 <listitem>
155 <para>
156 <xref linkend="pyatspi2"/>
157 </para>
158 </listitem>
159 <listitem>
160 <para>
161 <xref linkend="pyxdg"/>
162 </para>
163 </listitem>
164 <listitem>
165 <para>
166 <xref linkend="ipython"/>
167 </para>
168 </listitem>
169 </itemizedlist>
170 </sect2>
171
172 <!-- Begin PyXML -->
173 <sect2 id="pyxml" xreflabel="PyXML-&pyxml-version;">
174
175 <title>PyXML-&pyxml-version;</title>
176
177 <indexterm zone="pyxml">
178 <primary sortas="a-PyXML">PyXML</primary>
179 </indexterm>
180
181 <sect3 role="package">
182 <title>Introduction to PyXML Module</title>
183
184 <para>
185 The <application>PyXML</application> package contains a validating XML
186 parser, an implementation of the SAX and DOM programming interfaces, an
187 interface to the Expat parser, and a C helper module that can speed up
188 <filename>xmllib.py</filename> by a factor of five. This is useful for
189 validating, parsing and manipulating XML files using Python programs.
190 </para>
191
192 &lfs71_checked;
193
194 <bridgehead renderas="sect4">Package Information</bridgehead>
195 <itemizedlist spacing="compact">
196 <listitem>
197 <para>
198 Download (HTTP): <ulink url="&pyxml-download-http;"/>
199 </para>
200 </listitem>
201 <listitem>
202 <para>
203 Download (FTP): <ulink url="&pyxml-download-ftp;"/>
204 </para>
205 </listitem>
206 <listitem>
207 <para>
208 Download MD5 sum: &pyxml-md5sum;
209 </para>
210 </listitem>
211 <listitem>
212 <para>
213 Download size: &pyxml-size;
214 </para>
215 </listitem>
216 <listitem>
217 <para>
218 Estimated disk space required: &pyxml-buildsize;
219 </para>
220 </listitem>
221 <listitem>
222 <para>
223 Estimated build time: &pyxml-time;
224 </para>
225 </listitem>
226 </itemizedlist>
227
228 <bridgehead renderas="sect4">PyXML Dependencies</bridgehead>
229
230 <bridgehead renderas="sect5">Required</bridgehead>
231 <para role="required">
232 <xref linkend="python2"/>
233 </para>
234
235 <para condition="html" role="usernotes">
236 User Notes: <ulink url="&blfs-wiki;/pyxml"/>
237 </para>
238 </sect3>
239
240 <sect3 role="installation">
241 <title>Installation of PyXML</title>
242
243 <para>
244 Install <application>PyXML</application> by running the following
245 commands:
246 </para>
247
248<screen><userinput>python setup.py build</userinput></screen>
249
250 <para>
251 Now, as the <systemitem class="username">root</systemitem> user:
252 </para>
253
254<screen role="root"><userinput>python setup.py install &amp;&amp;
255install -v -m644 doc/man/xmlproc_*.1 /usr/share/man/man1 &amp;&amp;
256install -v -m755 -d /usr/share/doc/PyXML-&pyxml-version; &amp;&amp;
257cp -v -R doc demo test /usr/share/doc/PyXML-&pyxml-version; &amp;&amp;
258install -v -m644 README* /usr/share/doc/PyXML-&pyxml-version;</userinput></screen>
259
260 <para>
261 To run the regression tests, the package must first be installed. Then,
262 as an unprivileged user, issue the following commands:
263 </para>
264
265<screen><userinput>cd test &amp;&amp;
266python regrtest.py &amp;&amp;
267cd ..</userinput></screen>
268 </sect3>
269
270 <sect3 role="commands">
271 <title>Command Explanations</title>
272
273 <para>
274 <command>python setup.py build</command>: This command copies the
275 <filename>*.py</filename> files to a staging area and compiles the C
276 extensions.
277 </para>
278
279 <para>
280 <command>python setup.py install</command>: This command installs the
281 package.
282 </para>
283 </sect3>
284
285 <sect3 role="content">
286 <title>Contents</title>
287
288 <segmentedlist>
289 <segtitle>Installed Programs</segtitle>
290 <segtitle>Installed Libraries</segtitle>
291 <segtitle>Installed Directories</segtitle>
292
293 <seglistitem>
294 <seg>xmlproc_parse and xmlproc_val</seg>
295 <seg>PyXML Python library modules</seg>
296 <seg>
297 /usr/lib/python&python2-majorver;/site-packages/_xmlplus and
298 /usr/share/doc/PyXML-&pyxml-version;
299 </seg>
300 </seglistitem>
301 </segmentedlist>
302
303 <variablelist>
304 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
305 <?dbfo list-presentation="list"?>
306 <?dbhtml list-presentation="table"?>
307
308 <varlistentry id="xmlproc_parse">
309 <term><command>xmlproc_parse</command></term>
310 <listitem>
311 <para>
312 is a simple XML file parser using the xmlproc parser.
313 </para>
314 <indexterm zone="pyxml xmlproc_parse">
315 <primary sortas="b-xmlproc_parse">xmlproc_parse</primary>
316 </indexterm>
317 </listitem>
318 </varlistentry>
319
320 <varlistentry id="xmlproc_val">
321 <term><command>xmlproc_val</command></term>
322 <listitem>
323 <para>
324 is a validating XML file parser using the xmlproc parser.
325 </para>
326 <indexterm zone="pyxml xmlproc_val">
327 <primary sortas="b-xmlproc_val">xmlproc_val</primary>
328 </indexterm>
329 </listitem>
330 </varlistentry>
331 </variablelist>
332 </sect3>
333 </sect2>
334
335 <!-- End PyXML -->
336
337 <!-- Begin Py2cairo -->
338 <sect2 id="py2cairo" xreflabel="Py2cairo-&py2cairo-version;">
339
340 <title>Py2cairo-&py2cairo-version;</title>
341
342 <indexterm zone="py2cairo">
343 <primary sortas="a-Py2cairo">Py2cairo</primary>
344 </indexterm>
345
346 <sect3 role="package">
347 <title>Introduction to Py2cairo Module</title>
348
349 <para>
350 Py2cairo provides <application>Python 2</application> bindings to
351 <application>Cairo</application>.
352 </para>
353
354 &lfs71_checked;
355
356 <bridgehead renderas="sect4">Package Information</bridgehead>
357 <itemizedlist spacing="compact">
358 <listitem>
359 <para>
360 Download (HTTP): <ulink url="&py2cairo-download-http;"/>
361 </para>
362 </listitem>
363 <listitem>
364 <para>
365 Download (FTP): <ulink url="&py2cairo-download-ftp;"/>
366 </para>
367 </listitem>
368 <listitem>
369 <para>
370 Download MD5 sum: &py2cairo-md5sum;
371 </para>
372 </listitem>
373 <listitem>
374 <para>
375 Download size: &py2cairo-size;
376 </para>
377 </listitem>
378 <listitem>
379 <para>
380 Estimated disk space required: &py2cairo-buildsize;
381 </para>
382 </listitem>
383 <listitem>
384 <para>
385 Estimated build time: &py2cairo-time;
386 </para>
387 </listitem>
388 </itemizedlist>
389
390 <bridgehead renderas="sect4">Py2cairo Dependencies</bridgehead>
391
392 <bridgehead renderas="sect5">Required</bridgehead>
393 <para role="required">
394 <xref linkend="python2"/> and
395 <xref linkend="cairo"/>
396 </para>
397
398 <bridgehead renderas="sect5">Optional</bridgehead>
399 <para role="optional">
400 <ulink url="http://pytest.org">pytest</ulink>
401 </para>
402
403 <para condition="html" role="usernotes">
404 User Notes: <ulink url="&blfs-wiki;/pycairo"/>
405 </para>
406 </sect3>
407
408 <sect3 role="installation">
409 <title>Installation of Py2cairo</title>
410
411 <para>
412 Install <application>Py2cairo</application> by running the following
413 commands:
414 </para>
415
416<screen><userinput>./configure --prefix=/usr &amp;&amp;
417make</userinput></screen>
418
419 <para>
420 The test suite requires the optional <application>pytest</application>
421 package. If installed, it is run by changing to the
422 <filename class='directory'>test</filename> directory and running
423 <userinput>py.test</userinput>.
424 </para>
425
426 <para>
427 Now, as the <systemitem class="username">root</systemitem> user:
428 </para>
429
430<screen role="root"><userinput>make install</userinput></screen>
431 </sect3>
432
433 <sect3 role="content">
434 <title>Contents</title>
435
436 <segmentedlist>
437 <segtitle>Installed Libraries</segtitle>
438 <segtitle>Installed Directory</segtitle>
439
440 <seglistitem>
441 <seg>_cairo.so</seg>
442 <seg>
443 /usr/include/pycairo and
444 /usr/lib/python2.7/site-packages/cairo
445 </seg>
446 </seglistitem>
447 </segmentedlist>
448 </sect3>
449 </sect2>
450
451 <!-- End Py2cairo -->
452 <!-- Begin Pycairo -->
453 <sect2 id="pycairo" xreflabel="Pycairo-&pycairo-version;">
454
455 <title>Pycairo-&pycairo-version;</title>
456
457 <indexterm zone="pycairo">
458 <primary sortas="a-Pycairo">Pycairo</primary>
459 </indexterm>
460
461 <sect3 role="package">
462 <title>Introduction to Pycairo Module</title>
463
464 <para>
465 Pycairo provides <application>Python 3</application> bindings to
466 <application>Cairo</application>.
467 </para>
468
469 <bridgehead renderas="sect4">Package Information</bridgehead>
470 <itemizedlist spacing="compact">
471 <listitem>
472 <para>
473 Download (HTTP): <ulink url="&pycairo-download-http;"/>
474 </para>
475 </listitem>
476 <listitem>
477 <para>
478 Download (FTP): <ulink url="&pycairo-download-ftp;"/>
479 </para>
480 </listitem>
481 <listitem>
482 <para>
483 Download MD5 sum: &pycairo-md5sum;
484 </para>
485 </listitem>
486 <listitem>
487 <para>
488 Download size: &pycairo-size;
489 </para>
490 </listitem>
491 <listitem>
492 <para>
493 Estimated disk space required: &pycairo-buildsize;
494 </para>
495 </listitem>
496 <listitem>
497 <para>
498 Estimated build time: &pycairo-time;
499 </para>
500 </listitem>
501 </itemizedlist>
502
503 <bridgehead renderas="sect4">Pycairo Dependencies</bridgehead>
504
505 <bridgehead renderas="sect5">Required</bridgehead>
506 <para role="required">
507 <xref linkend="python2"/> and
508 <xref linkend="cairo"/>
509 </para>
510
511 <para condition="html" role="usernotes">
512 User Notes: <ulink url="&blfs-wiki;/pycairo"/>
513 </para>
514 </sect3>
515
516 <sect3 role="installation">
517 <title>Installation of Pycairo</title>
518
519 <para>
520 Install <application>Pycairo</application> by running the following
521 commands:
522 </para>
523
524<screen><userinput>./configure --prefix=/usr &amp;&amp;
525make</userinput></screen>
526
527 <para>
528 This package does not come with a test suite.
529 </para>
530
531 <para>
532 Now, as the <systemitem class="username">root</systemitem> user:
533 </para>
534
535<screen role="root"><userinput>make install</userinput></screen>
536 </sect3>
537
538 <sect3 role="content">
539 <title>Contents</title>
540
541 <segmentedlist>
542 <segtitle>Installed Libraries</segtitle>
543 <segtitle>Installed Directories</segtitle>
544
545 <seglistitem>
546 <seg>Pycairo Python library module</seg>
547 <seg>
548 /usr/include/pycairo and
549 /usr/lib/python&python2-majorver;/site-packages/cairo
550 </seg>
551 </seglistitem>
552 </segmentedlist>
553 </sect3>
554 </sect2>
555 <!-- End Pycairo -->
556
557 <!-- Begin PyGObject2 -->
558 <sect2 id="pygobject2" xreflabel="PyGObject-&pygobject2-version;">
559
560 <title>PyGObject-&pygobject2-version;</title>
561
562 <indexterm zone="pygobject2">
563 <primary sortas="a-PyGObject">PyGObject</primary>
564 </indexterm>
565
566 <sect3 role="package">
567 <title>Introduction to PyGObject Module</title>
568
569 <para>
570 PyGObject-&pygobject2-version; provides
571 <application>Python 2</application> bindings to the GObject class from
572 <application>GLib</application>.
573 </para>
574
575 &lfs71_checked;
576
577 <bridgehead renderas="sect4">Package Information</bridgehead>
578 <itemizedlist spacing="compact">
579 <listitem>
580 <para>
581 Download (HTTP): <ulink url="&pygobject2-download-http;"/>
582 </para>
583 </listitem>
584 <listitem>
585 <para>
586 Download (FTP): <ulink url="&pygobject2-download-ftp;"/>
587 </para>
588 </listitem>
589 <listitem>
590 <para>
591 Download MD5 sum: &pygobject2-md5sum;
592 </para>
593 </listitem>
594 <listitem>
595 <para>
596 Download size: &pygobject2-size;
597 </para>
598 </listitem>
599 <listitem>
600 <para>
601 Estimated disk space required: &pygobject2-buildsize;
602 </para>
603 </listitem>
604 <listitem>
605 <para>
606 Estimated build time: &pygobject2-time;
607 </para>
608 </listitem>
609 </itemizedlist>
610
611 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
612 <itemizedlist spacing="compact">
613 <listitem>
614 <para>
615 Required patch (if you have installed
616 <xref linkend="gobject-introspection"/>):
617 <ulink url="&patch-root;/pygobject2-&pygobject2-version;-introspection-1.patch"/>
618 </para>
619 </listitem>
620 </itemizedlist>
621
622 <bridgehead renderas="sect4">PyGObject Dependencies</bridgehead>
623
624 <bridgehead renderas="sect5">Required</bridgehead>
625 <para role="required">
626 <xref linkend="pycairo"/> and
627 <xref linkend="pkgconfig"/>.
628 </para>
629
630 <bridgehead renderas="sect5">Optional</bridgehead>
631 <para role="optional">
632 <xref linkend="gobject-introspection"/> and
633 <xref linkend="libxslt"/> (to Build Documentation)
634 </para>
635
636 <para condition="html" role="usernotes">
637 User Notes: <ulink url="&blfs-wiki;/pygobject"/>
638 </para>
639 </sect3>
640
641 <sect3 role="installation">
642 <title>Installation of PyGObject</title>
643
644 <para>
645 Install <application>PyGObject</application> by running the following
646 commands:
647 </para>
648
649<screen><userinput>patch -p1 &lt; ../pygobject2-&pygobject2-version;-introspection-1.patch &amp;&amp;
650./configure --prefix=/usr &amp;&amp;
651make</userinput></screen>
652
653 <para>
654 This package does not have a working testsuite.
655 </para>
656 <!-- <para>
657 To test the results, issue: <command>make check</command>.
658 </para> -->
659
660 <para>
661 Now, as the <systemitem class="username">root</systemitem> user:
662 </para>
663
664<screen role="root"><userinput>make install</userinput></screen>
665 </sect3>
666
667 <sect3 role="commands">
668 <title>Command Explanations</title>
669
670 <para>
671 <parameter>--disable-introspection</parameter>: This switch is required
672 if you have not installed
673 <application>gobject-introspection</application>.
674 </para>
675
676 <para>
677 <option>--disable-docs</option>: This option disables the rebuilding of
678 the html documentation if <xref linkend="libxslt"/> is installed.
679 </para>
680 </sect3>
681
682 <sect3 role="content">
683 <title>Contents</title>
684
685 <segmentedlist>
686 <segtitle>Installed Programs</segtitle>
687 <segtitle>Installed Libraries</segtitle>
688 <segtitle>Installed Directories</segtitle>
689
690 <seglistitem>
691 <seg>pygobject-codegen-2.0</seg>
692 <seg>
693 libpyglib-2.0-python.so,
694 _gio.so,
695 unix.so,
696 _glib.so and
697 _gobject.so.
698 </seg>
699 <seg>
700 /usr/include/pygtk-2.0,
701 /usr/lib/python&python2-majorver;/site-packages/gtk-2.0/{gio,glib,gobject},
702 /usr/share/gtk-doc/html/pygobject and
703 /usr/share/pygobject/2.0
704 </seg>
705 </seglistitem>
706 </segmentedlist>
707 </sect3>
708 </sect2>
709 <!-- End PyGObject2 -->
710
711 <!-- Begin PyGObject3 -->
712 <sect2 id="pygobject3" xreflabel="PyGObject-&pygobject3-version;">
713
714 <title>PyGObject-&pygobject3-version;</title>
715
716 <indexterm zone="pygobject3">
717 <primary sortas="a-PyGObject">PyGObject</primary>
718 </indexterm>
719
720 <sect3 role="package">
721 <title>Introduction to PyGObject Module</title>
722
723 <para>
724 PyGObject-&pygobject3-version; provides
725 <application>Python 3</application> bindings to the GObject class from
726 <application>GLib</application>.
727 </para>
728
729 &lfs70_checked;
730
731 <bridgehead renderas="sect4">Package Information</bridgehead>
732 <itemizedlist spacing="compact">
733 <listitem>
734 <para>
735 Download (HTTP): <ulink url="&pygobject3-download-http;"/>
736 </para>
737 </listitem>
738 <listitem>
739 <para>
740 Download (FTP): <ulink url="&pygobject3-download-ftp;"/>
741 </para>
742 </listitem>
743 <listitem>
744 <para>
745 Download MD5 sum: &pygobject3-md5sum;
746 </para>
747 </listitem>
748 <listitem>
749 <para>
750 Download size: &pygobject3-size;
751 </para>
752 </listitem>
753 <listitem>
754 <para>
755 Estimated disk space required: &pygobject3-buildsize;
756 </para>
757 </listitem>
758 <listitem>
759 <para>
760 Estimated build time: &pygobject3-time;
761 </para>
762 </listitem>
763 </itemizedlist>
764
765 <bridgehead renderas="sect4">PyGObject Dependencies</bridgehead>
766
767 <bridgehead renderas="sect5">Required</bridgehead>
768 <para role="required">
769 <xref linkend="python2"/> and
770 <xref linkend="pkgconfig"/>
771 </para>
772
773 <bridgehead renderas="sect5">Optional</bridgehead>
774 <para role="optional">
775 <xref linkend="gobject-introspection"/> and
776 <xref linkend="libxslt"/> (to Build Documentation)
777 </para>
778
779 <para condition="html" role="usernotes">
780 User Notes: <ulink url="&blfs-wiki;/pygobject"/>
781 </para>
782 </sect3>
783
784 <sect3 role="installation">
785 <title>Installation of PyGObject</title>
786
787 <para>
788 Install <application>PyGObject</application> by running the following
789 commands:
790 </para>
791
792<screen><userinput>./configure --prefix=/usr &amp;&amp;
793make</userinput></screen>
794
795 <para>
796 To test the results, issue: <command>make check</command>.
797 </para>
798
799 <para>
800 Now, as the <systemitem class="username">root</systemitem> user:
801 </para>
802
803<screen role="root"><userinput>make install</userinput></screen>
804 </sect3>
805
806 <sect3 role="commands">
807 <title>Command Explanations</title>
808
809 <para>
810 <parameter>--disable-docs</parameter>: This option disables the
811 rebuilding of the html documentation if <xref linkend="libxslt"/> is
812 installed.
813 </para>
814 </sect3>
815
816 <sect3 role="content">
817 <title>Contents</title>
818
819 <segmentedlist>
820 <segtitle>Installed Programs</segtitle>
821 <segtitle>Installed Libraries</segtitle>
822 <segtitle>Installed Directories</segtitle>
823
824 <seglistitem>
825 <seg>pygobject-codegen-2.0</seg>
826 <seg>
827 libpyglib-gi-2.0-python.so,
828 _gio.so,
829 _gi_cairo.so and
830 _gobject.so.
831 </seg>
832 <seg>
833 /usr/include/pygobject-3.0 and
834 /usr/lib/python2.7
835 </seg>
836 </seglistitem>
837 </segmentedlist>
838 </sect3>
839 </sect2>
840 <!-- End PyGObject -->
841
842 <!-- Begin PyGTK -->
843 <sect2 id="pygtk" xreflabel="PyGTK-&pygtk-version;">
844
845 <title>PyGTK-&pygtk-version;</title>
846
847 <indexterm zone="pygtk">
848 <primary sortas="a-PyGTK">PyGTK</primary>
849 </indexterm>
850
851 <sect3 role="package">
852 <title>Introduction to PyGTK Module</title>
853
854 <para>
855 PyGTK lets you to easily create programs with a graphical user interface
856 using the <application>Python</application> programming language.
857 </para>
858
859 &lfs71_checked;
860
861 <bridgehead renderas="sect4">Package Information</bridgehead>
862 <itemizedlist spacing="compact">
863 <listitem>
864 <para>
865 Download (HTTP): <ulink url="&pygtk-download-http;"/>
866 </para>
867 </listitem>
868 <listitem>
869 <para>
870 Download (FTP): <ulink url="&pygtk-download-ftp;"/>
871 </para>
872 </listitem>
873 <listitem>
874 <para>
875 Download MD5 sum: &pygtk-md5sum;
876 </para>
877 </listitem>
878 <listitem>
879 <para>
880 Download size: &pygtk-size;
881 </para>
882 </listitem>
883 <listitem>
884 <para>
885 Estimated disk space required: &pygtk-buildsize;
886 </para>
887 </listitem>
888 <listitem>
889 <para>
890 Estimated build time: &pygtk-time;
891 </para>
892 </listitem>
893 </itemizedlist>
894
895 <bridgehead renderas="sect4">PyGTK Dependencies</bridgehead>
896
897 <bridgehead renderas="sect5">Required</bridgehead>
898 <para role="required">
899 <xref linkend="pygobject2"/>
900 </para>
901
902 <bridgehead renderas="sect5">Required (atk module)</bridgehead>
903 <para role="required">
904 <xref linkend="atk"/>
905 </para>
906
907 <bridgehead renderas="sect5">Required (pango module)</bridgehead>
908 <para role="required">
909 <xref linkend="pango"/>
910 </para>
911
912 <bridgehead renderas="sect5">Required (pangocairo module)</bridgehead>
913 <para role="required">
914 <xref linkend="pycairo"/> and
915 <xref linkend="pango"/>
916 </para>
917
918 <bridgehead renderas="sect5">Required (gtk and gtk.unixprint modules)</bridgehead>
919 <para role="required">
920 <xref linkend="pycairo"/> and
921 <xref linkend="gtk2"/>.
922 </para>
923
924 <bridgehead renderas="sect5">Required (gtk.libglade module)</bridgehead>
925 <para role="required">
926 <xref linkend="pycairo"/> and
927 <xref linkend="libglade"/>.
928 </para>
929
930 <bridgehead renderas="sect5">Optional</bridgehead>
931 <para role="optional">
932 <ulink url="http://numpy.scipy.org/">NumPy</ulink>
933 </para>
934
935 <bridgehead renderas="sect5">Optional (to Build Documentation)</bridgehead>
936 <para role="optional">
937 <xref linkend="libxslt"/>
938 </para>
939
940 <para condition="html" role="usernotes">
941 User Notes: <ulink url="&blfs-wiki;/pygtk"/>
942 </para>
943 </sect3>
944
945 <sect3 role="installation">
946 <title>Installation of PyGTK</title>
947
948 <para>
949 Install <application>PyGTK</application> by running the following
950 commands:
951 </para>
952
953<screen><userinput>./configure --prefix=/usr &amp;&amp;
954make</userinput></screen>
955
956 <para>
957 The tests must be run from an active X display. If this is so, issue:
958 <command>make check</command>.
959 </para>
960
961 <para>
962 Now, as the <systemitem class="username">root</systemitem> user:
963 </para>
964
965<screen role="root"><userinput>make install</userinput></screen>
966 </sect3>
967
968 <sect3 role="commands">
969 <title>Command Explanations</title>
970
971 <para>
972 <parameter>--enable-docs</parameter>: This option enables rebuilding the
973 html documentation if <xref linkend="libxslt"/> is installed.
974 </para>
975 </sect3>
976
977 <sect3 role="content">
978 <title>Contents</title>
979
980 <segmentedlist>
981 <segtitle>Installed Programs</segtitle>
982 <segtitle>Installed Libraries</segtitle>
983 <segtitle>Installed Directories</segtitle>
984
985 <seglistitem>
986 <seg>pygtk-codegen-2.0</seg>
987 <seg>
988 atk.so,
989 _gtk.so,
990 glade.so,
991 gtkunixprint.so,
992 pango.so and
993 pangocairo.so.
994 </seg>
995 <seg>
996 /usr/include/pygtk-2.0,
997 /usr/lib/pygtk,
998 /usr/lib/python&python2-majorver;/site-packages/gtk-2.0,
999 /usr/share/gtk-doc/html/pygtk and
1000 /usr/share/pygtk.
1001 </seg>
1002 </seglistitem>
1003 </segmentedlist>
1004
1005 <variablelist>
1006 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
1007 <?dbfo list-presentation="list"?>
1008 <?dbhtml list-presentation="table"?>
1009
1010 <varlistentry id="pygtk-codegen-2.0">
1011 <term><command>pygtk-codegen-2.0</command></term>
1012 <listitem>
1013 <para>
1014 is a wrapper script to run the <application>PyGTK</application>
1015 codegen module.
1016 </para>
1017 <indexterm zone="pygtk pygtk-codegen-2.0">
1018 <primary sortas="b-pygtk-codegen-2.0">pygtk-codegen-2.0</primary>
1019 </indexterm>
1020 </listitem>
1021 </varlistentry>
1022
1023 <varlistentry id="pygtk-demo">
1024 <term><command>pygtk-demo</command></term>
1025 <listitem>
1026 <para>
1027 is a Python wrapper to run the <application>PyGTK</application>
1028 demo program.
1029 </para>
1030 <indexterm zone="pygtk pygtk-demo">
1031 <primary sortas="b-pygtk-demo">pygtk-demo</primary>
1032 </indexterm>
1033 </listitem>
1034 </varlistentry>
1035 </variablelist>
1036 </sect3>
1037 </sect2>
1038 <!-- End PyGTK -->
1039
1040 <!-- Begin PyGtkSourceView -->
1041 <sect2 id="pygtksourceview" xreflabel="PyGtkSourceView-&pygtksourceview-version;">
1042
1043 <title>PyGtkSourceView-&pygtksourceview-version;</title>
1044
1045 <indexterm zone="pygtksourceview">
1046 <primary sortas="a-PyGtkSourceView">PyGtkSourceView</primary>
1047 </indexterm>
1048
1049 <sect3 role="package">
1050 <title>Introduction to PyGtkSourceView Module</title>
1051
1052 <para>
1053 PyGtkSourceView contains python bindings for the version 2 of the
1054 <application>GtkSourceView</application> library.
1055 </para>
1056
1057 <bridgehead renderas="sect4">Package Information</bridgehead>
1058 <itemizedlist spacing="compact">
1059 <listitem>
1060 <para>
1061 Download (HTTP): <ulink url="&pygtksourceview-download-http;"/>
1062 </para>
1063 </listitem>
1064 <listitem>
1065 <para>
1066 Download (FTP): <ulink url="&pygtksourceview-download-ftp;"/>
1067 </para>
1068 </listitem>
1069 <listitem>
1070 <para>
1071 Download MD5 sum: &pygtksourceview-md5sum;
1072 </para>
1073 </listitem>
1074 <listitem>
1075 <para>
1076 Download size: &pygtksourceview-size;
1077 </para>
1078 </listitem>
1079 <listitem>
1080 <para>
1081 Estimated disk space required: &pygtksourceview-buildsize;
1082 </para>
1083 </listitem>
1084 <listitem>
1085 <para>
1086 Estimated build time: &pygtksourceview-time;
1087 </para>
1088 </listitem>
1089 </itemizedlist>
1090
1091 <bridgehead renderas="sect4">PyGtkSourceView Dependencies</bridgehead>
1092
1093 <bridgehead renderas="sect5">Required</bridgehead>
1094 <para role="required">
1095 <xref linkend="gtksourceview"/> and
1096 <xref linkend="pygtk"/>.
1097 </para>
1098
1099 <bridgehead renderas="sect5">Recommended</bridgehead>
1100 <para role="recommended">
1101 <xref linkend="DocBook"/>
1102 </para>
1103
1104 <bridgehead renderas="sect5">Optional</bridgehead>
1105 <para role="optional">
1106 <xref linkend="gtk-doc"/>
1107 </para>
1108
1109 <para condition="html" role="usernotes">
1110 User Notes: <ulink url="&blfs-wiki;/pygtksourceview"/>
1111 </para>
1112 </sect3>
1113
1114 <sect3 role="installation">
1115 <title>Installation of PyGtkSourceView</title>
1116
1117 <para>
1118 Install <application>PyGtkSourceView</application> by running the
1119 following commands:
1120 </para>
1121
1122<screen><userinput>./configure --prefix=/usr &amp;&amp;
1123make</userinput></screen>
1124
1125 <para>
1126 This package does not come with a test suite.
1127 </para>
1128
1129 <para>
1130 Now, as the <systemitem class="username">root</systemitem> user:
1131 </para>
1132
1133<screen role="root"><userinput>make install</userinput></screen>
1134 </sect3>
1135
1136 <sect3 role="commands">
1137 <title>Command Explanations</title>
1138
1139 <para>
1140 <option>--disable-docs</option>: This option disables the documentation
1141 building and is required if <application>DocBook</application> is not
1142 installed.
1143 </para>
1144
1145 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
1146 href="../../xincludes/gtk-doc-rebuild.xml"/>
1147 </sect3>
1148
1149 <sect3 role="content">
1150 <title>Contents</title>
1151
1152 <segmentedlist>
1153 <segtitle>Installed Libraries</segtitle>
1154 <segtitle>Installed Directory</segtitle>
1155
1156 <seglistitem>
1157 <seg>gtksourceview2.so</seg>
1158 <seg>/usr/share/gtk-doc/html/pygtksourceview2</seg>
1159 </seglistitem>
1160 </segmentedlist>
1161
1162 <variablelist>
1163 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
1164 <?dbfo list-presentation="list"?>
1165 <?dbhtml list-presentation="table"?>
1166
1167 <varlistentry id="gtksourceview2">
1168 <term><filename class='libraryfile'>gtksourceview2.so</filename></term>
1169 <listitem>
1170 <para>
1171 PyGtkSourceView Python library module.
1172 </para>
1173 <indexterm zone="pygtksourceview gtksourceview2">
1174 <primary sortas="c-gtksourceview2">gtksourceview2.so</primary>
1175 </indexterm>
1176 </listitem>
1177 </varlistentry>
1178 </variablelist>
1179 </sect3>
1180 </sect2>
1181 <!-- End PyGtkSourceView -->
1182
1183 <!-- Begin pyatspi2 -->
1184 <sect2 id="pyatspi2" xreflabel="pyatspi2-&pyatspi2-version;">
1185
1186 <title>pyatspi2-&pyatspi2-version;</title>
1187
1188 <indexterm zone="pyatspi2">
1189 <primary sortas="a-pyatspi2">pyatspi2</primary>
1190 </indexterm>
1191
1192 <sect3 role="package">
1193 <title>Introduction to pyatspi2</title>
1194
1195 <para>
1196 The <application>pyatspi2</application> package contains Python2
1197 bindings for the core components of GNOME Accessibility.
1198 </para>
1199
1200 &lfs70_built;
1201
1202 <bridgehead renderas="sect4">Package Information</bridgehead>
1203 <itemizedlist spacing="compact">
1204 <listitem>
1205 <para>
1206 Download (HTTP): <ulink url="&pyatspi2-download-http;"/>
1207 </para>
1208 </listitem>
1209 <listitem>
1210 <para>
1211 Download (FTP): <ulink url="&pyatspi2-download-ftp;"/>
1212 </para>
1213 </listitem>
1214 <listitem>
1215 <para>
1216 Download MD5 sum: &pyatspi2-md5sum;
1217 </para>
1218 </listitem>
1219 <listitem>
1220 <para>
1221 Download size: &pyatspi2-size;
1222 </para>
1223 </listitem>
1224 <listitem>
1225 <para>
1226 Estimated disk space required: &pyatspi2-buildsize;
1227 </para>
1228 </listitem>
1229 <listitem>
1230 <para>
1231 Estimated build time: &pyatspi2-time;
1232 </para>
1233 </listitem>
1234 </itemizedlist>
1235
1236 <bridgehead renderas="sect4">pyatspi2 Dependencies</bridgehead>
1237
1238 <bridgehead renderas="sect5">Required</bridgehead>
1239 <para role="required">
1240 <xref linkend="pygobject2"/>
1241 </para>
1242
1243 <bridgehead renderas="sect5">Recommended</bridgehead>
1244 <para role="recommended">
1245 <xref linkend="at-spi2-core"/>
1246 </para>
1247
1248 <para condition="html" role="usernotes">
1249 User Notes: <ulink url="&blfs-wiki;/pyatspi2"/>
1250 </para>
1251 </sect3>
1252
1253 <sect3 role="installation">
1254 <title>Installation of pyatspi2</title>
1255
1256 <para>
1257 Install <application>pyatspi2</application> by running the following
1258 commands:
1259 </para>
1260
1261<screen><userinput>./configure --prefix=$GNOME_PREFIX \
1262 --sysconfdir=$GNOME_SYSCONFDIR \
1263 --libexecdir=$GNOME_PREFIX/lib/pyatspi2 &amp;&amp;
1264make</userinput></screen>
1265
1266 <para>
1267 To test the results, issue: <command>make check</command>.
1268 </para>
1269
1270 <para>
1271 Now, as the <systemitem class="username">root</systemitem> user:
1272 </para>
1273
1274<screen role="root"><userinput>make install</userinput></screen>
1275 </sect3>
1276
1277 <sect3 role="content">
1278 <title>Contents</title>
1279
1280 <segmentedlist>
1281 <segtitle>Installed Programs</segtitle>
1282 <segtitle>Installed Directory</segtitle>
1283
1284 <seglistitem>
1285 <seg>
1286 Accessibility.py, appevent.py, constants.py, deviceevent.py,
1287 document.py, editabletext.py, enum.py, interfaces.py, registry.py,
1288 role.py, state.py, text.py, and utils.py
1289 </seg>
1290 <seg><envar>$GNOME_PREFIX</envar>/lib/python2.7/site-packages/pyatspi</seg>
1291 </seglistitem>
1292 </segmentedlist>
1293
1294 <!--<variablelist> ## none of these are documented anywhere
1295 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
1296 <?dbfo list-presentation="list"?>
1297 <?dbhtml list-presentation="table"?>
1298
1299 <varlistentry id="Accessibility.py">
1300 <term><command>Accessibility.py</command></term>
1301 <listitem>
1302 <para>
1303 does this .....
1304 </para>
1305 <indexterm zone="pyatspi2 Accessibility.py">
1306 <primary sortas="b-Accessibility.py">Accessibility.py</primary>
1307 </indexterm>
1308 </listitem>
1309 </varlistentry>
1310
1311 <varlistentry id="appevent.py">
1312 <term><command>appevent.py</command></term>
1313 <listitem>
1314 <para>
1315 does this .....
1316 </para>
1317 <indexterm zone="pyatspi2 appevent.py">
1318 <primary sortas="b-appevent.py">appevent.py</primary>
1319 </indexterm>
1320 </listitem>
1321 </varlistentry>
1322
1323 <varlistentry id="constants.py">
1324 <term><command>constants.py</command></term>
1325 <listitem>
1326 <para>
1327 does this .....
1328 </para>
1329 <indexterm zone="pyatspi2 constants.py">
1330 <primary sortas="b-constants.py">constants.py</primary>
1331 </indexterm>
1332 </listitem>
1333 </varlistentry>
1334
1335 <varlistentry id="deviceevent.py">
1336 <term><command>deviceevent.py</command></term>
1337 <listitem>
1338 <para>
1339 does this .....
1340 </para>
1341 <indexterm zone="pyatspi2 deviceevent.py">
1342 <primary sortas="b-deviceevent.py">deviceevent.py</primary>
1343 </indexterm>
1344 </listitem>
1345 </varlistentry>
1346
1347 <varlistentry id="document.py">
1348 <term><command>document.py</command></term>
1349 <listitem>
1350 <para>
1351 does this .....
1352 </para>
1353 <indexterm zone="pyatspi2 document.py">
1354 <primary sortas="b-document.py">document.py</primary>
1355 </indexterm>
1356 </listitem>
1357 </varlistentry>
1358
1359 <varlistentry id="editabletext.py">
1360 <term><command>editabletext.py</command></term>
1361 <listitem>
1362 <para>
1363 does this .....
1364 </para>
1365 <indexterm zone="pyatspi2 editabletext.py">
1366 <primary sortas="b-editabletext.py">editabletext.py</primary>
1367 </indexterm>
1368 </listitem>
1369 </varlistentry>
1370
1371 <varlistentry id="enum.py">
1372 <term><command>enum.py</command></term>
1373 <listitem>
1374 <para>
1375 does this .....
1376 </para>
1377 <indexterm zone="pyatspi2 enum.py">
1378 <primary sortas="b-enum.py">enum.py</primary>
1379 </indexterm>
1380 </listitem>
1381 </varlistentry>
1382
1383 <varlistentry id="interfaces.py">
1384 <term><command>interfaces.py</command></term>
1385 <listitem>
1386 <para>
1387 does this .....
1388 </para>
1389 <indexterm zone="pyatspi2 interfaces.py">
1390 <primary sortas="b-interfaces.py">interfaces.py</primary>
1391 </indexterm>
1392 </listitem>
1393 </varlistentry>
1394
1395 <varlistentry id="registry.py">
1396 <term><command>registry.py</command></term>
1397 <listitem>
1398 <para>
1399 does this .....
1400 </para>
1401 <indexterm zone="pyatspi2 registry.py">
1402 <primary sortas="b-registry.py">registry.py</primary>
1403 </indexterm>
1404 </listitem>
1405 </varlistentry>
1406
1407 <varlistentry id="role.py">
1408 <term><command>role.py</command></term>
1409 <listitem>
1410 <para>
1411 does this .....
1412 </para>
1413 <indexterm zone="pyatspi2 role.py">
1414 <primary sortas="b-role.py">role.py</primary>
1415 </indexterm>
1416 </listitem>
1417 </varlistentry>
1418
1419 <varlistentry id="state.py">
1420 <term><command>state.py</command></term>
1421 <listitem>
1422 <para>
1423 does this .....
1424 </para>
1425 <indexterm zone="pyatspi2 state.py">
1426 <primary sortas="b-state.py">state.py</primary>
1427 </indexterm>
1428 </listitem>
1429 </varlistentry>
1430
1431 <varlistentry id="text.py">
1432 <term><command>text.py</command></term>
1433 <listitem>
1434 <para>
1435 does this .....
1436 </para>
1437 <indexterm zone="pyatspi2 text.py">
1438 <primary sortas="b-text.py">text.py</primary>
1439 </indexterm>
1440 </listitem>
1441 </varlistentry>
1442
1443 <varlistentry id="utils.py">
1444 <term><command>utils.py</command></term>
1445 <listitem>
1446 <para>
1447 does this .....
1448 </para>
1449 <indexterm zone="pyatspi2 utils.py">
1450 <primary sortas="b-utils.py">utils.py</primary>
1451 </indexterm>
1452 </listitem>
1453 </varlistentry>
1454 </variablelist>-->
1455 </sect3>
1456 </sect2>
1457 <!-- End pyatspi2 -->
1458
1459 <!-- Begin pyxdg -->
1460 <sect2 id="pyxdg" xreflabel="PyXDG-&pyxdg-version;">
1461
1462 <title>PyXDG-&pyxdg-version;</title>
1463
1464 <indexterm zone="pyxdg">
1465 <primary sortas="a-PyXDG">pyxdg</primary>
1466 </indexterm>
1467
1468 <sect3 role="package">
1469 <title>Introduction to PyXDG Module</title>
1470
1471 <para>
1472 <application>PyXDG</application> is a <application>Python</application>
1473 library to access freedesktop.org standards.
1474 </para>
1475
1476 <bridgehead renderas="sect4">Package Information</bridgehead>
1477 <itemizedlist spacing="compact">
1478 <listitem>
1479 <para>
1480 Download (HTTP): <ulink url="&pyxdg-download-http;"/>
1481 </para>
1482 </listitem>
1483 <listitem>
1484 <para>
1485 Download (FTP): <ulink url="&pyxdg-download-ftp;"/>
1486 </para>
1487 </listitem>
1488 <listitem>
1489 <para>
1490 Download MD5 sum: &pyxdg-md5sum;
1491 </para>
1492 </listitem>
1493 <listitem>
1494 <para>
1495 Download size: &pyxdg-size;
1496 </para>
1497 </listitem>
1498 <listitem>
1499 <para>
1500 Estimated disk space required: &pyxdg-buildsize;
1501 </para>
1502 </listitem>
1503 <listitem>
1504 <para>
1505 Estimated build time: &pyxdg-time;
1506 </para>
1507 </listitem>
1508 </itemizedlist>
1509
1510 <bridgehead renderas="sect4">PyXDG Dependencies</bridgehead>
1511
1512 <bridgehead renderas="sect5">Required</bridgehead>
1513 <para role="required">
1514 <xref linkend="python2"/>
1515 </para>
1516
1517 <para condition="html" role="usernotes">
1518 User Notes: <ulink url="&blfs-wiki;/pyxdg"/>
1519 </para>
1520 </sect3>
1521
1522 <sect3 role="installation">
1523 <title>Installation of PyXDG</title>
1524
1525 <para>
1526 Install <application>pyxdg</application> by running the following
1527 commands as the <systemitem class="username">root</systemitem> user:
1528 </para>
1529
1530<screen role="root"><userinput>python setup.py install</userinput></screen>
1531 </sect3>
1532
1533 <sect3 role="commands">
1534 <title>Command Explanations</title>
1535
1536 <para>
1537 <command>python setup.py install</command>: This command installs
1538 the package. There are other options available, see
1539 <command>Python setup.py --help-commands</command> for details.
1540 </para>
1541 </sect3>
1542
1543 <sect3 role="content">
1544 <title>Contents</title>
1545
1546 <segmentedlist>
1547 <segtitle>Installed Programs</segtitle>
1548 <segtitle>Installed Directories</segtitle>
1549
1550 <seglistitem>
1551 <seg>
1552 BaseDirectory.py, Config.py, Exceptions.py, IconTheme.py,
1553 IniFile.py, Locale.py, Menu.py and RecentFile.py.
1554 </seg>
1555 <seg>/usr/lib/python&python2-majorver;/site-packages/xdg</seg>
1556 </seglistitem>
1557 </segmentedlist>
1558 </sect3>
1559 </sect2>
1560 <!--End pyxdg -->
1561
1562 <!-- Begin IPython -->
1563 <sect2 id="ipython" xreflabel="IPython-&ipython-version;">
1564
1565 <title>IPython-&ipython-version;</title>
1566
1567 <indexterm zone="ipython">
1568 <primary sortas="a-IPython">ipython</primary>
1569 </indexterm>
1570
1571 <sect3 role="package">
1572 <title>Introduction to IPython Module</title>
1573
1574 <para>
1575 <application>IPython</application> provides a rich toolkit to help you
1576 make the most out of using Python interactively.
1577 </para>
1578
1579 <bridgehead renderas="sect4">Package Information</bridgehead>
1580 <itemizedlist spacing="compact">
1581 <listitem>
1582 <para>
1583 Download (HTTP): <ulink url="&ipython-download-http;"/>
1584 </para>
1585 </listitem>
1586 <listitem>
1587 <para>
1588 Download (FTP): <ulink url="&ipython-download-ftp;"/>
1589 </para>
1590 </listitem>
1591 <listitem>
1592 <para>
1593 Download MD5 sum: &ipython-md5sum;
1594 </para>
1595 </listitem>
1596 <listitem>
1597 <para>
1598 Download size: &ipython-size;
1599 </para>
1600 </listitem>
1601 <listitem>
1602 <para>
1603 Estimated disk space required: &ipython-buildsize;
1604 </para>
1605 </listitem>
1606 <listitem>
1607 <para>
1608 Estimated build time: &ipython-time;
1609 </para>
1610 </listitem>
1611 </itemizedlist>
1612
1613 <bridgehead renderas="sect4">IPython Dependencies</bridgehead>
1614
1615 <bridgehead renderas="sect5">Required</bridgehead>
1616 <para role="required">
1617 <xref linkend="python2"/>
1618 ( or <xref linkend="python3"/> : not tested), and
1619 <xref linkend="sqlite"/>
1620 </para>
1621
1622 <bridgehead renderas="sect5">optional</bridgehead>
1623 <para role="optional">
1624 <ulink url="http://sphinx.pocoo.org">sphinx</ulink> (for building docs),
1625 <ulink url="http://pygments.org">pygments</ulink> (for syntax
1626 higlighting documentation),
1627 <ulink url="http://pypi.python.org/pypi/nose">nose</ulink> (to build the
1628 test program),
1629 <ulink url="http://www.noah.org/python/pexpect">pexpect</ulink> (for
1630 standalone doctests), and
1631 <ulink url="http://pypi.python.org/pypi/pyzmq">sphinx</ulink> (for
1632 qtconsole, notebook, parallel computing)
1633 </para>
1634
1635 <para condition="html" role="usernotes">
1636 User Notes: <ulink url="&blfs-wiki;/ipython"/>
1637 </para>
1638 </sect3>
1639
1640 <sect3 role="installation">
1641 <title>Installation of IPython</title>
1642
1643 <para>
1644 Install <application>ipython</application> by running the following
1645 commands as the <systemitem class="username">root</systemitem> user:
1646 </para>
1647
1648<screen role="root"><userinput>python setup.py install --prefix=/usr</userinput></screen>
1649
1650 <para>
1651 If you built this against <application>nose</application>, you can run
1652 the testsuite after the package has been installed by entering:
1653 <command>iptest</command>. The tests test_startup_{,i}py (and perhaps
1654 others if you provided the optional dependencies) will fail.
1655 </para>
1656 </sect3>
1657
1658 <sect3 role="commands">
1659 <title>Command Explanations</title>
1660
1661 <para>
1662 <command>python setup.py install --prefix=/usr</command>: This command
1663 installs the package. The prefix ensures that the programs are located
1664 in <filename class="directory">/usr/bin</filename> instead of
1665 <filename class="directory">/usr/local/bin</filename>.
1666 </para>
1667 </sect3>
1668
1669 <sect3 role="content">
1670 <title>Contents</title>
1671
1672 <segmentedlist>
1673 <segtitle>Installed Programs</segtitle>
1674 <segtitle>Installed Directories</segtitle>
1675
1676 <seglistitem>
1677 <seg>
1678 ipcluster, ipcontroller, ipengine, iplogger, iptest (if nose was
1679 installed), ipython, irunner, pycolor and a host of python scripts.
1680 </seg>
1681 <seg>
1682 /usr/lib/python&python2-majorver;/site-packages/IPython and
1683 /usr/share/doc/IPython.
1684 </seg>
1685 </seglistitem>
1686 </segmentedlist>
1687
1688 <variablelist>
1689 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
1690 <?dbfo list-presentation="list"?>
1691 <?dbhtml list-presentation="table"?>
1692
1693 <varlistentry id="ipcluster">
1694 <term><command>ipcluster</command></term>
1695 <listitem>
1696 <para>
1697 IPython parallel computing cluster control tool
1698 </para>
1699 <indexterm zone="ipython ipcluster">
1700 <primary sortas="b-ipcluster">ipcluster</primary>
1701 </indexterm>
1702 </listitem>
1703 </varlistentry>
1704
1705 <varlistentry id="ipcontroller">
1706 <term><command>ipcontroller</command></term>
1707 <listitem>
1708 <!-- this is what the manpage says! -->
1709 <para>
1710 IPython parallel computing controller control tool
1711 </para>
1712 <indexterm zone="ipython ipcontroller">
1713 <primary sortas="b-ipcontroller">ipcontroller</primary>
1714 </indexterm>
1715 </listitem>
1716 </varlistentry>
1717
1718 <varlistentry id="ipengine">
1719 <term><command>ipengine</command></term>
1720 <listitem>
1721 <para>
1722 IPython parallel computing engine control tool
1723 </para>
1724 <indexterm zone="ipython ipengine">
1725 <primary sortas="b-ipengine">ipengine</primary>
1726 </indexterm>
1727 </listitem>
1728 </varlistentry>
1729
1730 <varlistentry id="iplogger">
1731 <term><command>iplogger</command></term>
1732 <listitem>
1733 <para>
1734 IPython logger fpr parallel computing
1735 </para>
1736 <indexterm zone="ipython iplogger">
1737 <primary sortas="b-iplogger">iplogger</primary>
1738 </indexterm>
1739 </listitem>
1740 </varlistentry>
1741
1742 <varlistentry id="iptest">
1743 <term><command>iptest</command></term>
1744 <listitem>
1745 <para>
1746 runs the IPython testsuite
1747 </para>
1748 <indexterm zone="ipython iptest">
1749 <primary sortas="b-iptest">iptest</primary>
1750 </indexterm>
1751 </listitem>
1752 </varlistentry>
1753
1754 <varlistentry id="ipython-prog">
1755 <term><command>ipython</command></term>
1756 <listitem>
1757 <!-- again, description from the manpage -->
1758 <para>
1759 Tools for Interactive Computing in Python
1760 </para>
1761 <indexterm zone="ipython ipython">
1762 <primary sortas="b-ipython">ipython</primary>
1763 </indexterm>
1764 </listitem>
1765 </varlistentry>
1766
1767 <varlistentry id="irunner">
1768 <term><command>irunner</command></term>
1769 <listitem>
1770 <para>
1771 is an interface to IPython&apos;s runner module
1772 </para>
1773 <indexterm zone="ipython irunner">
1774 <primary sortas="b-irunner">irunner</primary>
1775 </indexterm>
1776 </listitem>
1777 </varlistentry>
1778
1779 <varlistentry id="pycolor">
1780 <term><command>pycolor</command></term>
1781 <listitem>
1782 <para>
1783 Colorize a python file or stdin using ANSI and print to stdout
1784 </para>
1785 <indexterm zone="ipython pycolor">
1786 <primary sortas="b-pycolor">pycolor</primary>
1787 </indexterm>
1788 </listitem>
1789 </varlistentry>
1790 </variablelist>
1791 </sect3>
1792 </sect2>
1793 <!-- End IPython -->
1794</sect1>
Note: See TracBrowser for help on using the repository browser.