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

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

Added Pyrex, a Python module.

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

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