source: general/prog/python-modules.xml@ 3e2c430

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

added autoreconf -i -f to the py2cairo instructions

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

  • Property mode set to 100644
File size: 52.8 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>autoreconf -f -i &amp;&amp;
417./configure --prefix=/usr &amp;&amp;
418make</userinput></screen>
419
420 <para>
421 The test suite requires the optional <application>pytest</application>
422 package. If installed, it is run by changing to the
423 <filename class='directory'>test</filename> directory and running
424 <userinput>py.test</userinput>.
425 </para>
426
427 <para>
428 Now, as the <systemitem class="username">root</systemitem> user:
429 </para>
430
431<screen role="root"><userinput>make install</userinput></screen>
432 </sect3>
433
434 <sect3 role="commands">
435 <title>Command Explanations</title>
436
437 <para>
438 <command>autoreconf -f -i</command>: This command copies some missing
439 files into the source.
440 </para>
441 </sect3>
442
443 <sect3 role="content">
444 <title>Contents</title>
445
446 <segmentedlist>
447 <segtitle>Installed Libraries</segtitle>
448 <segtitle>Installed Directory</segtitle>
449
450 <seglistitem>
451 <seg>_cairo.so</seg>
452 <seg>
453 /usr/include/pycairo and
454 /usr/lib/python2.7/site-packages/cairo
455 </seg>
456 </seglistitem>
457 </segmentedlist>
458 </sect3>
459 </sect2>
460
461 <!-- End Py2cairo -->
462 <!-- Begin Pycairo -->
463 <sect2 id="pycairo" xreflabel="Pycairo-&pycairo-version;">
464
465 <title>Pycairo-&pycairo-version;</title>
466
467 <indexterm zone="pycairo">
468 <primary sortas="a-Pycairo">Pycairo</primary>
469 </indexterm>
470
471 <sect3 role="package">
472 <title>Introduction to Pycairo Module</title>
473
474 <para>
475 Pycairo provides <application>Python 3</application> bindings to
476 <application>Cairo</application>.
477 </para>
478
479 <bridgehead renderas="sect4">Package Information</bridgehead>
480 <itemizedlist spacing="compact">
481 <listitem>
482 <para>
483 Download (HTTP): <ulink url="&pycairo-download-http;"/>
484 </para>
485 </listitem>
486 <listitem>
487 <para>
488 Download (FTP): <ulink url="&pycairo-download-ftp;"/>
489 </para>
490 </listitem>
491 <listitem>
492 <para>
493 Download MD5 sum: &pycairo-md5sum;
494 </para>
495 </listitem>
496 <listitem>
497 <para>
498 Download size: &pycairo-size;
499 </para>
500 </listitem>
501 <listitem>
502 <para>
503 Estimated disk space required: &pycairo-buildsize;
504 </para>
505 </listitem>
506 <listitem>
507 <para>
508 Estimated build time: &pycairo-time;
509 </para>
510 </listitem>
511 </itemizedlist>
512
513 <bridgehead renderas="sect4">Pycairo Dependencies</bridgehead>
514
515 <bridgehead renderas="sect5">Required</bridgehead>
516 <para role="required">
517 <xref linkend="python2"/> and
518 <xref linkend="cairo"/>
519 </para>
520
521 <para condition="html" role="usernotes">
522 User Notes: <ulink url="&blfs-wiki;/pycairo"/>
523 </para>
524 </sect3>
525
526 <sect3 role="installation">
527 <title>Installation of Pycairo</title>
528
529 <para>
530 Install <application>Pycairo</application> by running the following
531 commands:
532 </para>
533
534<screen><userinput>./configure --prefix=/usr &amp;&amp;
535make</userinput></screen>
536
537 <para>
538 This package does not come with a test suite.
539 </para>
540
541 <para>
542 Now, as the <systemitem class="username">root</systemitem> user:
543 </para>
544
545<screen role="root"><userinput>make install</userinput></screen>
546 </sect3>
547
548 <sect3 role="content">
549 <title>Contents</title>
550
551 <segmentedlist>
552 <segtitle>Installed Libraries</segtitle>
553 <segtitle>Installed Directories</segtitle>
554
555 <seglistitem>
556 <seg>Pycairo Python library module</seg>
557 <seg>
558 /usr/include/pycairo and
559 /usr/lib/python&python2-majorver;/site-packages/cairo
560 </seg>
561 </seglistitem>
562 </segmentedlist>
563 </sect3>
564 </sect2>
565 <!-- End Pycairo -->
566
567 <!-- Begin PyGObject2 -->
568 <sect2 id="pygobject2" xreflabel="PyGObject-&pygobject2-version;">
569
570 <title>PyGObject-&pygobject2-version;</title>
571
572 <indexterm zone="pygobject2">
573 <primary sortas="a-PyGObject">PyGObject</primary>
574 </indexterm>
575
576 <sect3 role="package">
577 <title>Introduction to PyGObject Module</title>
578
579 <para>
580 PyGObject-&pygobject2-version; provides
581 <application>Python 2</application> bindings to the GObject class from
582 <application>GLib</application>.
583 </para>
584
585 &lfs71_checked;
586
587 <bridgehead renderas="sect4">Package Information</bridgehead>
588 <itemizedlist spacing="compact">
589 <listitem>
590 <para>
591 Download (HTTP): <ulink url="&pygobject2-download-http;"/>
592 </para>
593 </listitem>
594 <listitem>
595 <para>
596 Download (FTP): <ulink url="&pygobject2-download-ftp;"/>
597 </para>
598 </listitem>
599 <listitem>
600 <para>
601 Download MD5 sum: &pygobject2-md5sum;
602 </para>
603 </listitem>
604 <listitem>
605 <para>
606 Download size: &pygobject2-size;
607 </para>
608 </listitem>
609 <listitem>
610 <para>
611 Estimated disk space required: &pygobject2-buildsize;
612 </para>
613 </listitem>
614 <listitem>
615 <para>
616 Estimated build time: &pygobject2-time;
617 </para>
618 </listitem>
619 </itemizedlist>
620
621 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
622 <itemizedlist spacing="compact">
623 <listitem>
624 <para>
625 Required patch (if you have installed
626 <xref linkend="gobject-introspection"/>):
627 <ulink url="&patch-root;/pygobject2-&pygobject2-version;-introspection-1.patch"/>
628 </para>
629 </listitem>
630 </itemizedlist>
631
632 <bridgehead renderas="sect4">PyGObject Dependencies</bridgehead>
633
634 <bridgehead renderas="sect5">Required</bridgehead>
635 <para role="required">
636 <xref linkend="pycairo"/> and
637 <xref linkend="pkgconfig"/>.
638 </para>
639
640 <bridgehead renderas="sect5">Optional</bridgehead>
641 <para role="optional">
642 <xref linkend="gobject-introspection"/> and
643 <xref linkend="libxslt"/> (to Build Documentation)
644 </para>
645
646 <para condition="html" role="usernotes">
647 User Notes: <ulink url="&blfs-wiki;/pygobject"/>
648 </para>
649 </sect3>
650
651 <sect3 role="installation">
652 <title>Installation of PyGObject</title>
653
654 <para>
655 Install <application>PyGObject</application> by running the following
656 commands:
657 </para>
658
659<screen><userinput>patch -p1 &lt; ../pygobject2-&pygobject2-version;-introspection-1.patch &amp;&amp;
660./configure --prefix=/usr &amp;&amp;
661make</userinput></screen>
662
663 <para>
664 This package does not have a working testsuite.
665 </para>
666 <!-- <para>
667 To test the results, issue: <command>make check</command>.
668 </para> -->
669
670 <para>
671 Now, as the <systemitem class="username">root</systemitem> user:
672 </para>
673
674<screen role="root"><userinput>make install</userinput></screen>
675 </sect3>
676
677 <sect3 role="commands">
678 <title>Command Explanations</title>
679
680 <para>
681 <parameter>--disable-introspection</parameter>: This switch is required
682 if you have not installed
683 <application>gobject-introspection</application>.
684 </para>
685
686 <para>
687 <option>--disable-docs</option>: This option disables the rebuilding of
688 the html documentation if <xref linkend="libxslt"/> is installed.
689 </para>
690 </sect3>
691
692 <sect3 role="content">
693 <title>Contents</title>
694
695 <segmentedlist>
696 <segtitle>Installed Programs</segtitle>
697 <segtitle>Installed Libraries</segtitle>
698 <segtitle>Installed Directories</segtitle>
699
700 <seglistitem>
701 <seg>pygobject-codegen-2.0</seg>
702 <seg>
703 libpyglib-2.0-python.so,
704 _gio.so,
705 unix.so,
706 _glib.so and
707 _gobject.so.
708 </seg>
709 <seg>
710 /usr/include/pygtk-2.0,
711 /usr/lib/python&python2-majorver;/site-packages/gtk-2.0/{gio,glib,gobject},
712 /usr/share/gtk-doc/html/pygobject and
713 /usr/share/pygobject/2.0
714 </seg>
715 </seglistitem>
716 </segmentedlist>
717 </sect3>
718 </sect2>
719 <!-- End PyGObject2 -->
720
721 <!-- Begin PyGObject3 -->
722 <sect2 id="pygobject3" xreflabel="PyGObject-&pygobject3-version;">
723
724 <title>PyGObject-&pygobject3-version;</title>
725
726 <indexterm zone="pygobject3">
727 <primary sortas="a-PyGObject">PyGObject</primary>
728 </indexterm>
729
730 <sect3 role="package">
731 <title>Introduction to PyGObject Module</title>
732
733 <para>
734 PyGObject-&pygobject3-version; provides
735 <application>Python 3</application> bindings to the GObject class from
736 <application>GLib</application>.
737 </para>
738
739 &lfs70_checked;
740
741 <bridgehead renderas="sect4">Package Information</bridgehead>
742 <itemizedlist spacing="compact">
743 <listitem>
744 <para>
745 Download (HTTP): <ulink url="&pygobject3-download-http;"/>
746 </para>
747 </listitem>
748 <listitem>
749 <para>
750 Download (FTP): <ulink url="&pygobject3-download-ftp;"/>
751 </para>
752 </listitem>
753 <listitem>
754 <para>
755 Download MD5 sum: &pygobject3-md5sum;
756 </para>
757 </listitem>
758 <listitem>
759 <para>
760 Download size: &pygobject3-size;
761 </para>
762 </listitem>
763 <listitem>
764 <para>
765 Estimated disk space required: &pygobject3-buildsize;
766 </para>
767 </listitem>
768 <listitem>
769 <para>
770 Estimated build time: &pygobject3-time;
771 </para>
772 </listitem>
773 </itemizedlist>
774
775 <bridgehead renderas="sect4">PyGObject Dependencies</bridgehead>
776
777 <bridgehead renderas="sect5">Required</bridgehead>
778 <para role="required">
779 <xref linkend="python2"/> and
780 <xref linkend="pkgconfig"/>
781 </para>
782
783 <bridgehead renderas="sect5">Optional</bridgehead>
784 <para role="optional">
785 <xref linkend="gobject-introspection"/> and
786 <xref linkend="libxslt"/> (to Build Documentation)
787 </para>
788
789 <para condition="html" role="usernotes">
790 User Notes: <ulink url="&blfs-wiki;/pygobject"/>
791 </para>
792 </sect3>
793
794 <sect3 role="installation">
795 <title>Installation of PyGObject</title>
796
797 <para>
798 Install <application>PyGObject</application> by running the following
799 commands:
800 </para>
801
802<screen><userinput>./configure --prefix=/usr &amp;&amp;
803make</userinput></screen>
804
805 <para>
806 To test the results, issue: <command>make check</command>.
807 </para>
808
809 <para>
810 Now, as the <systemitem class="username">root</systemitem> user:
811 </para>
812
813<screen role="root"><userinput>make install</userinput></screen>
814 </sect3>
815
816 <sect3 role="commands">
817 <title>Command Explanations</title>
818
819 <para>
820 <parameter>--disable-docs</parameter>: This option disables the
821 rebuilding of the html documentation if <xref linkend="libxslt"/> is
822 installed.
823 </para>
824 </sect3>
825
826 <sect3 role="content">
827 <title>Contents</title>
828
829 <segmentedlist>
830 <segtitle>Installed Programs</segtitle>
831 <segtitle>Installed Libraries</segtitle>
832 <segtitle>Installed Directories</segtitle>
833
834 <seglistitem>
835 <seg>pygobject-codegen-2.0</seg>
836 <seg>
837 libpyglib-gi-2.0-python.so,
838 _gio.so,
839 _gi_cairo.so and
840 _gobject.so.
841 </seg>
842 <seg>
843 /usr/include/pygobject-3.0 and
844 /usr/lib/python2.7
845 </seg>
846 </seglistitem>
847 </segmentedlist>
848 </sect3>
849 </sect2>
850 <!-- End PyGObject -->
851
852 <!-- Begin PyGTK -->
853 <sect2 id="pygtk" xreflabel="PyGTK-&pygtk-version;">
854
855 <title>PyGTK-&pygtk-version;</title>
856
857 <indexterm zone="pygtk">
858 <primary sortas="a-PyGTK">PyGTK</primary>
859 </indexterm>
860
861 <sect3 role="package">
862 <title>Introduction to PyGTK Module</title>
863
864 <para>
865 PyGTK lets you to easily create programs with a graphical user interface
866 using the <application>Python</application> programming language.
867 </para>
868
869 &lfs71_checked;
870
871 <bridgehead renderas="sect4">Package Information</bridgehead>
872 <itemizedlist spacing="compact">
873 <listitem>
874 <para>
875 Download (HTTP): <ulink url="&pygtk-download-http;"/>
876 </para>
877 </listitem>
878 <listitem>
879 <para>
880 Download (FTP): <ulink url="&pygtk-download-ftp;"/>
881 </para>
882 </listitem>
883 <listitem>
884 <para>
885 Download MD5 sum: &pygtk-md5sum;
886 </para>
887 </listitem>
888 <listitem>
889 <para>
890 Download size: &pygtk-size;
891 </para>
892 </listitem>
893 <listitem>
894 <para>
895 Estimated disk space required: &pygtk-buildsize;
896 </para>
897 </listitem>
898 <listitem>
899 <para>
900 Estimated build time: &pygtk-time;
901 </para>
902 </listitem>
903 </itemizedlist>
904
905 <bridgehead renderas="sect4">PyGTK Dependencies</bridgehead>
906
907 <bridgehead renderas="sect5">Required</bridgehead>
908 <para role="required">
909 <xref linkend="pygobject2"/>
910 </para>
911
912 <bridgehead renderas="sect5">Required (atk module)</bridgehead>
913 <para role="required">
914 <xref linkend="atk"/>
915 </para>
916
917 <bridgehead renderas="sect5">Required (pango module)</bridgehead>
918 <para role="required">
919 <xref linkend="pango"/>
920 </para>
921
922 <bridgehead renderas="sect5">Required (pangocairo module)</bridgehead>
923 <para role="required">
924 <xref linkend="pycairo"/> and
925 <xref linkend="pango"/>
926 </para>
927
928 <bridgehead renderas="sect5">Required (gtk and gtk.unixprint modules)</bridgehead>
929 <para role="required">
930 <xref linkend="pycairo"/> and
931 <xref linkend="gtk2"/>.
932 </para>
933
934 <bridgehead renderas="sect5">Required (gtk.libglade module)</bridgehead>
935 <para role="required">
936 <xref linkend="pycairo"/> and
937 <xref linkend="libglade"/>.
938 </para>
939
940 <bridgehead renderas="sect5">Optional</bridgehead>
941 <para role="optional">
942 <ulink url="http://numpy.scipy.org/">NumPy</ulink>
943 </para>
944
945 <bridgehead renderas="sect5">Optional (to Build Documentation)</bridgehead>
946 <para role="optional">
947 <xref linkend="libxslt"/>
948 </para>
949
950 <para condition="html" role="usernotes">
951 User Notes: <ulink url="&blfs-wiki;/pygtk"/>
952 </para>
953 </sect3>
954
955 <sect3 role="installation">
956 <title>Installation of PyGTK</title>
957
958 <para>
959 Install <application>PyGTK</application> by running the following
960 commands:
961 </para>
962
963<screen><userinput>./configure --prefix=/usr &amp;&amp;
964make</userinput></screen>
965
966 <para>
967 The tests must be run from an active X display. If this is so, issue:
968 <command>make check</command>.
969 </para>
970
971 <para>
972 Now, as the <systemitem class="username">root</systemitem> user:
973 </para>
974
975<screen role="root"><userinput>make install</userinput></screen>
976 </sect3>
977
978 <sect3 role="commands">
979 <title>Command Explanations</title>
980
981 <para>
982 <parameter>--enable-docs</parameter>: This option enables rebuilding the
983 html documentation if <xref linkend="libxslt"/> is installed.
984 </para>
985 </sect3>
986
987 <sect3 role="content">
988 <title>Contents</title>
989
990 <segmentedlist>
991 <segtitle>Installed Programs</segtitle>
992 <segtitle>Installed Libraries</segtitle>
993 <segtitle>Installed Directories</segtitle>
994
995 <seglistitem>
996 <seg>pygtk-codegen-2.0</seg>
997 <seg>
998 atk.so,
999 _gtk.so,
1000 glade.so,
1001 gtkunixprint.so,
1002 pango.so and
1003 pangocairo.so.
1004 </seg>
1005 <seg>
1006 /usr/include/pygtk-2.0,
1007 /usr/lib/pygtk,
1008 /usr/lib/python&python2-majorver;/site-packages/gtk-2.0,
1009 /usr/share/gtk-doc/html/pygtk and
1010 /usr/share/pygtk.
1011 </seg>
1012 </seglistitem>
1013 </segmentedlist>
1014
1015 <variablelist>
1016 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
1017 <?dbfo list-presentation="list"?>
1018 <?dbhtml list-presentation="table"?>
1019
1020 <varlistentry id="pygtk-codegen-2.0">
1021 <term><command>pygtk-codegen-2.0</command></term>
1022 <listitem>
1023 <para>
1024 is a wrapper script to run the <application>PyGTK</application>
1025 codegen module.
1026 </para>
1027 <indexterm zone="pygtk pygtk-codegen-2.0">
1028 <primary sortas="b-pygtk-codegen-2.0">pygtk-codegen-2.0</primary>
1029 </indexterm>
1030 </listitem>
1031 </varlistentry>
1032
1033 <varlistentry id="pygtk-demo">
1034 <term><command>pygtk-demo</command></term>
1035 <listitem>
1036 <para>
1037 is a Python wrapper to run the <application>PyGTK</application>
1038 demo program.
1039 </para>
1040 <indexterm zone="pygtk pygtk-demo">
1041 <primary sortas="b-pygtk-demo">pygtk-demo</primary>
1042 </indexterm>
1043 </listitem>
1044 </varlistentry>
1045 </variablelist>
1046 </sect3>
1047 </sect2>
1048 <!-- End PyGTK -->
1049
1050 <!-- Begin PyGtkSourceView -->
1051 <sect2 id="pygtksourceview" xreflabel="PyGtkSourceView-&pygtksourceview-version;">
1052
1053 <title>PyGtkSourceView-&pygtksourceview-version;</title>
1054
1055 <indexterm zone="pygtksourceview">
1056 <primary sortas="a-PyGtkSourceView">PyGtkSourceView</primary>
1057 </indexterm>
1058
1059 <sect3 role="package">
1060 <title>Introduction to PyGtkSourceView Module</title>
1061
1062 <para>
1063 PyGtkSourceView contains python bindings for the version 2 of the
1064 <application>GtkSourceView</application> library.
1065 </para>
1066
1067 <bridgehead renderas="sect4">Package Information</bridgehead>
1068 <itemizedlist spacing="compact">
1069 <listitem>
1070 <para>
1071 Download (HTTP): <ulink url="&pygtksourceview-download-http;"/>
1072 </para>
1073 </listitem>
1074 <listitem>
1075 <para>
1076 Download (FTP): <ulink url="&pygtksourceview-download-ftp;"/>
1077 </para>
1078 </listitem>
1079 <listitem>
1080 <para>
1081 Download MD5 sum: &pygtksourceview-md5sum;
1082 </para>
1083 </listitem>
1084 <listitem>
1085 <para>
1086 Download size: &pygtksourceview-size;
1087 </para>
1088 </listitem>
1089 <listitem>
1090 <para>
1091 Estimated disk space required: &pygtksourceview-buildsize;
1092 </para>
1093 </listitem>
1094 <listitem>
1095 <para>
1096 Estimated build time: &pygtksourceview-time;
1097 </para>
1098 </listitem>
1099 </itemizedlist>
1100
1101 <bridgehead renderas="sect4">PyGtkSourceView Dependencies</bridgehead>
1102
1103 <bridgehead renderas="sect5">Required</bridgehead>
1104 <para role="required">
1105 <xref linkend="gtksourceview"/> and
1106 <xref linkend="pygtk"/>.
1107 </para>
1108
1109 <bridgehead renderas="sect5">Recommended</bridgehead>
1110 <para role="recommended">
1111 <xref linkend="DocBook"/>
1112 </para>
1113
1114 <bridgehead renderas="sect5">Optional</bridgehead>
1115 <para role="optional">
1116 <xref linkend="gtk-doc"/>
1117 </para>
1118
1119 <para condition="html" role="usernotes">
1120 User Notes: <ulink url="&blfs-wiki;/pygtksourceview"/>
1121 </para>
1122 </sect3>
1123
1124 <sect3 role="installation">
1125 <title>Installation of PyGtkSourceView</title>
1126
1127 <para>
1128 Install <application>PyGtkSourceView</application> by running the
1129 following commands:
1130 </para>
1131
1132<screen><userinput>./configure --prefix=/usr &amp;&amp;
1133make</userinput></screen>
1134
1135 <para>
1136 This package does not come with a test suite.
1137 </para>
1138
1139 <para>
1140 Now, as the <systemitem class="username">root</systemitem> user:
1141 </para>
1142
1143<screen role="root"><userinput>make install</userinput></screen>
1144 </sect3>
1145
1146 <sect3 role="commands">
1147 <title>Command Explanations</title>
1148
1149 <para>
1150 <option>--disable-docs</option>: This option disables the documentation
1151 building and is required if <application>DocBook</application> is not
1152 installed.
1153 </para>
1154
1155 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
1156 href="../../xincludes/gtk-doc-rebuild.xml"/>
1157 </sect3>
1158
1159 <sect3 role="content">
1160 <title>Contents</title>
1161
1162 <segmentedlist>
1163 <segtitle>Installed Libraries</segtitle>
1164 <segtitle>Installed Directory</segtitle>
1165
1166 <seglistitem>
1167 <seg>gtksourceview2.so</seg>
1168 <seg>/usr/share/gtk-doc/html/pygtksourceview2</seg>
1169 </seglistitem>
1170 </segmentedlist>
1171
1172 <variablelist>
1173 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
1174 <?dbfo list-presentation="list"?>
1175 <?dbhtml list-presentation="table"?>
1176
1177 <varlistentry id="gtksourceview2">
1178 <term><filename class='libraryfile'>gtksourceview2.so</filename></term>
1179 <listitem>
1180 <para>
1181 PyGtkSourceView Python library module.
1182 </para>
1183 <indexterm zone="pygtksourceview gtksourceview2">
1184 <primary sortas="c-gtksourceview2">gtksourceview2.so</primary>
1185 </indexterm>
1186 </listitem>
1187 </varlistentry>
1188 </variablelist>
1189 </sect3>
1190 </sect2>
1191 <!-- End PyGtkSourceView -->
1192
1193 <!-- Begin pyatspi2 -->
1194 <sect2 id="pyatspi2" xreflabel="pyatspi2-&pyatspi2-version;">
1195
1196 <title>pyatspi2-&pyatspi2-version;</title>
1197
1198 <indexterm zone="pyatspi2">
1199 <primary sortas="a-pyatspi2">pyatspi2</primary>
1200 </indexterm>
1201
1202 <sect3 role="package">
1203 <title>Introduction to pyatspi2</title>
1204
1205 <para>
1206 The <application>pyatspi2</application> package contains Python2
1207 bindings for the core components of GNOME Accessibility.
1208 </para>
1209
1210 &lfs70_built;
1211
1212 <bridgehead renderas="sect4">Package Information</bridgehead>
1213 <itemizedlist spacing="compact">
1214 <listitem>
1215 <para>
1216 Download (HTTP): <ulink url="&pyatspi2-download-http;"/>
1217 </para>
1218 </listitem>
1219 <listitem>
1220 <para>
1221 Download (FTP): <ulink url="&pyatspi2-download-ftp;"/>
1222 </para>
1223 </listitem>
1224 <listitem>
1225 <para>
1226 Download MD5 sum: &pyatspi2-md5sum;
1227 </para>
1228 </listitem>
1229 <listitem>
1230 <para>
1231 Download size: &pyatspi2-size;
1232 </para>
1233 </listitem>
1234 <listitem>
1235 <para>
1236 Estimated disk space required: &pyatspi2-buildsize;
1237 </para>
1238 </listitem>
1239 <listitem>
1240 <para>
1241 Estimated build time: &pyatspi2-time;
1242 </para>
1243 </listitem>
1244 </itemizedlist>
1245
1246 <bridgehead renderas="sect4">pyatspi2 Dependencies</bridgehead>
1247
1248 <bridgehead renderas="sect5">Required</bridgehead>
1249 <para role="required">
1250 <xref linkend="pygobject2"/>
1251 </para>
1252
1253 <bridgehead renderas="sect5">Recommended</bridgehead>
1254 <para role="recommended">
1255 <xref linkend="at-spi2-core"/>
1256 </para>
1257
1258 <para condition="html" role="usernotes">
1259 User Notes: <ulink url="&blfs-wiki;/pyatspi2"/>
1260 </para>
1261 </sect3>
1262
1263 <sect3 role="installation">
1264 <title>Installation of pyatspi2</title>
1265
1266 <para>
1267 Install <application>pyatspi2</application> by running the following
1268 commands:
1269 </para>
1270
1271<screen><userinput>./configure --prefix=$GNOME_PREFIX \
1272 --sysconfdir=$GNOME_SYSCONFDIR \
1273 --libexecdir=$GNOME_PREFIX/lib/pyatspi2 &amp;&amp;
1274make</userinput></screen>
1275
1276 <para>
1277 To test the results, issue: <command>make check</command>.
1278 </para>
1279
1280 <para>
1281 Now, as the <systemitem class="username">root</systemitem> user:
1282 </para>
1283
1284<screen role="root"><userinput>make install</userinput></screen>
1285 </sect3>
1286
1287 <sect3 role="content">
1288 <title>Contents</title>
1289
1290 <segmentedlist>
1291 <segtitle>Installed Programs</segtitle>
1292 <segtitle>Installed Directory</segtitle>
1293
1294 <seglistitem>
1295 <seg>
1296 Accessibility.py, appevent.py, constants.py, deviceevent.py,
1297 document.py, editabletext.py, enum.py, interfaces.py, registry.py,
1298 role.py, state.py, text.py, and utils.py
1299 </seg>
1300 <seg><envar>$GNOME_PREFIX</envar>/lib/python2.7/site-packages/pyatspi</seg>
1301 </seglistitem>
1302 </segmentedlist>
1303
1304 <!--<variablelist> ## none of these are documented anywhere
1305 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
1306 <?dbfo list-presentation="list"?>
1307 <?dbhtml list-presentation="table"?>
1308
1309 <varlistentry id="Accessibility.py">
1310 <term><command>Accessibility.py</command></term>
1311 <listitem>
1312 <para>
1313 does this .....
1314 </para>
1315 <indexterm zone="pyatspi2 Accessibility.py">
1316 <primary sortas="b-Accessibility.py">Accessibility.py</primary>
1317 </indexterm>
1318 </listitem>
1319 </varlistentry>
1320
1321 <varlistentry id="appevent.py">
1322 <term><command>appevent.py</command></term>
1323 <listitem>
1324 <para>
1325 does this .....
1326 </para>
1327 <indexterm zone="pyatspi2 appevent.py">
1328 <primary sortas="b-appevent.py">appevent.py</primary>
1329 </indexterm>
1330 </listitem>
1331 </varlistentry>
1332
1333 <varlistentry id="constants.py">
1334 <term><command>constants.py</command></term>
1335 <listitem>
1336 <para>
1337 does this .....
1338 </para>
1339 <indexterm zone="pyatspi2 constants.py">
1340 <primary sortas="b-constants.py">constants.py</primary>
1341 </indexterm>
1342 </listitem>
1343 </varlistentry>
1344
1345 <varlistentry id="deviceevent.py">
1346 <term><command>deviceevent.py</command></term>
1347 <listitem>
1348 <para>
1349 does this .....
1350 </para>
1351 <indexterm zone="pyatspi2 deviceevent.py">
1352 <primary sortas="b-deviceevent.py">deviceevent.py</primary>
1353 </indexterm>
1354 </listitem>
1355 </varlistentry>
1356
1357 <varlistentry id="document.py">
1358 <term><command>document.py</command></term>
1359 <listitem>
1360 <para>
1361 does this .....
1362 </para>
1363 <indexterm zone="pyatspi2 document.py">
1364 <primary sortas="b-document.py">document.py</primary>
1365 </indexterm>
1366 </listitem>
1367 </varlistentry>
1368
1369 <varlistentry id="editabletext.py">
1370 <term><command>editabletext.py</command></term>
1371 <listitem>
1372 <para>
1373 does this .....
1374 </para>
1375 <indexterm zone="pyatspi2 editabletext.py">
1376 <primary sortas="b-editabletext.py">editabletext.py</primary>
1377 </indexterm>
1378 </listitem>
1379 </varlistentry>
1380
1381 <varlistentry id="enum.py">
1382 <term><command>enum.py</command></term>
1383 <listitem>
1384 <para>
1385 does this .....
1386 </para>
1387 <indexterm zone="pyatspi2 enum.py">
1388 <primary sortas="b-enum.py">enum.py</primary>
1389 </indexterm>
1390 </listitem>
1391 </varlistentry>
1392
1393 <varlistentry id="interfaces.py">
1394 <term><command>interfaces.py</command></term>
1395 <listitem>
1396 <para>
1397 does this .....
1398 </para>
1399 <indexterm zone="pyatspi2 interfaces.py">
1400 <primary sortas="b-interfaces.py">interfaces.py</primary>
1401 </indexterm>
1402 </listitem>
1403 </varlistentry>
1404
1405 <varlistentry id="registry.py">
1406 <term><command>registry.py</command></term>
1407 <listitem>
1408 <para>
1409 does this .....
1410 </para>
1411 <indexterm zone="pyatspi2 registry.py">
1412 <primary sortas="b-registry.py">registry.py</primary>
1413 </indexterm>
1414 </listitem>
1415 </varlistentry>
1416
1417 <varlistentry id="role.py">
1418 <term><command>role.py</command></term>
1419 <listitem>
1420 <para>
1421 does this .....
1422 </para>
1423 <indexterm zone="pyatspi2 role.py">
1424 <primary sortas="b-role.py">role.py</primary>
1425 </indexterm>
1426 </listitem>
1427 </varlistentry>
1428
1429 <varlistentry id="state.py">
1430 <term><command>state.py</command></term>
1431 <listitem>
1432 <para>
1433 does this .....
1434 </para>
1435 <indexterm zone="pyatspi2 state.py">
1436 <primary sortas="b-state.py">state.py</primary>
1437 </indexterm>
1438 </listitem>
1439 </varlistentry>
1440
1441 <varlistentry id="text.py">
1442 <term><command>text.py</command></term>
1443 <listitem>
1444 <para>
1445 does this .....
1446 </para>
1447 <indexterm zone="pyatspi2 text.py">
1448 <primary sortas="b-text.py">text.py</primary>
1449 </indexterm>
1450 </listitem>
1451 </varlistentry>
1452
1453 <varlistentry id="utils.py">
1454 <term><command>utils.py</command></term>
1455 <listitem>
1456 <para>
1457 does this .....
1458 </para>
1459 <indexterm zone="pyatspi2 utils.py">
1460 <primary sortas="b-utils.py">utils.py</primary>
1461 </indexterm>
1462 </listitem>
1463 </varlistentry>
1464 </variablelist>-->
1465 </sect3>
1466 </sect2>
1467 <!-- End pyatspi2 -->
1468
1469 <!-- Begin pyxdg -->
1470 <sect2 id="pyxdg" xreflabel="PyXDG-&pyxdg-version;">
1471
1472 <title>PyXDG-&pyxdg-version;</title>
1473
1474 <indexterm zone="pyxdg">
1475 <primary sortas="a-PyXDG">pyxdg</primary>
1476 </indexterm>
1477
1478 <sect3 role="package">
1479 <title>Introduction to PyXDG Module</title>
1480
1481 <para>
1482 <application>PyXDG</application> is a <application>Python</application>
1483 library to access freedesktop.org standards.
1484 </para>
1485
1486 <bridgehead renderas="sect4">Package Information</bridgehead>
1487 <itemizedlist spacing="compact">
1488 <listitem>
1489 <para>
1490 Download (HTTP): <ulink url="&pyxdg-download-http;"/>
1491 </para>
1492 </listitem>
1493 <listitem>
1494 <para>
1495 Download (FTP): <ulink url="&pyxdg-download-ftp;"/>
1496 </para>
1497 </listitem>
1498 <listitem>
1499 <para>
1500 Download MD5 sum: &pyxdg-md5sum;
1501 </para>
1502 </listitem>
1503 <listitem>
1504 <para>
1505 Download size: &pyxdg-size;
1506 </para>
1507 </listitem>
1508 <listitem>
1509 <para>
1510 Estimated disk space required: &pyxdg-buildsize;
1511 </para>
1512 </listitem>
1513 <listitem>
1514 <para>
1515 Estimated build time: &pyxdg-time;
1516 </para>
1517 </listitem>
1518 </itemizedlist>
1519
1520 <bridgehead renderas="sect4">PyXDG Dependencies</bridgehead>
1521
1522 <bridgehead renderas="sect5">Required</bridgehead>
1523 <para role="required">
1524 <xref linkend="python2"/>
1525 </para>
1526
1527 <para condition="html" role="usernotes">
1528 User Notes: <ulink url="&blfs-wiki;/pyxdg"/>
1529 </para>
1530 </sect3>
1531
1532 <sect3 role="installation">
1533 <title>Installation of PyXDG</title>
1534
1535 <para>
1536 Install <application>pyxdg</application> by running the following
1537 commands as the <systemitem class="username">root</systemitem> user:
1538 </para>
1539
1540<screen role="root"><userinput>python setup.py install</userinput></screen>
1541 </sect3>
1542
1543 <sect3 role="commands">
1544 <title>Command Explanations</title>
1545
1546 <para>
1547 <command>python setup.py install</command>: This command installs
1548 the package. There are other options available, see
1549 <command>Python setup.py --help-commands</command> for details.
1550 </para>
1551 </sect3>
1552
1553 <sect3 role="content">
1554 <title>Contents</title>
1555
1556 <segmentedlist>
1557 <segtitle>Installed Programs</segtitle>
1558 <segtitle>Installed Directories</segtitle>
1559
1560 <seglistitem>
1561 <seg>
1562 BaseDirectory.py, Config.py, Exceptions.py, IconTheme.py,
1563 IniFile.py, Locale.py, Menu.py and RecentFile.py.
1564 </seg>
1565 <seg>/usr/lib/python&python2-majorver;/site-packages/xdg</seg>
1566 </seglistitem>
1567 </segmentedlist>
1568 </sect3>
1569 </sect2>
1570 <!--End pyxdg -->
1571
1572 <!-- Begin IPython -->
1573 <sect2 id="ipython" xreflabel="IPython-&ipython-version;">
1574
1575 <title>IPython-&ipython-version;</title>
1576
1577 <indexterm zone="ipython">
1578 <primary sortas="a-IPython">ipython</primary>
1579 </indexterm>
1580
1581 <sect3 role="package">
1582 <title>Introduction to IPython Module</title>
1583
1584 <para>
1585 <application>IPython</application> provides a rich toolkit to help you
1586 make the most out of using Python interactively.
1587 </para>
1588
1589 <bridgehead renderas="sect4">Package Information</bridgehead>
1590 <itemizedlist spacing="compact">
1591 <listitem>
1592 <para>
1593 Download (HTTP): <ulink url="&ipython-download-http;"/>
1594 </para>
1595 </listitem>
1596 <listitem>
1597 <para>
1598 Download (FTP): <ulink url="&ipython-download-ftp;"/>
1599 </para>
1600 </listitem>
1601 <listitem>
1602 <para>
1603 Download MD5 sum: &ipython-md5sum;
1604 </para>
1605 </listitem>
1606 <listitem>
1607 <para>
1608 Download size: &ipython-size;
1609 </para>
1610 </listitem>
1611 <listitem>
1612 <para>
1613 Estimated disk space required: &ipython-buildsize;
1614 </para>
1615 </listitem>
1616 <listitem>
1617 <para>
1618 Estimated build time: &ipython-time;
1619 </para>
1620 </listitem>
1621 </itemizedlist>
1622
1623 <bridgehead renderas="sect4">IPython Dependencies</bridgehead>
1624
1625 <bridgehead renderas="sect5">Required</bridgehead>
1626 <para role="required">
1627 <xref linkend="python2"/>
1628 ( or <xref linkend="python3"/> : not tested), and
1629 <xref linkend="sqlite"/>
1630 </para>
1631
1632 <bridgehead renderas="sect5">optional</bridgehead>
1633 <para role="optional">
1634 <ulink url="http://sphinx.pocoo.org">sphinx</ulink> (for building docs),
1635 <ulink url="http://pygments.org">pygments</ulink> (for syntax
1636 higlighting documentation),
1637 <ulink url="http://pypi.python.org/pypi/nose">nose</ulink> (to build the
1638 test program),
1639 <ulink url="http://www.noah.org/python/pexpect">pexpect</ulink> (for
1640 standalone doctests), and
1641 <ulink url="http://pypi.python.org/pypi/pyzmq">sphinx</ulink> (for
1642 qtconsole, notebook, parallel computing)
1643 </para>
1644
1645 <para condition="html" role="usernotes">
1646 User Notes: <ulink url="&blfs-wiki;/ipython"/>
1647 </para>
1648 </sect3>
1649
1650 <sect3 role="installation">
1651 <title>Installation of IPython</title>
1652
1653 <para>
1654 Install <application>ipython</application> by running the following
1655 commands as the <systemitem class="username">root</systemitem> user:
1656 </para>
1657
1658<screen role="root"><userinput>python setup.py install --prefix=/usr</userinput></screen>
1659
1660 <para>
1661 If you built this against <application>nose</application>, you can run
1662 the testsuite after the package has been installed by entering:
1663 <command>iptest</command>. The tests test_startup_{,i}py (and perhaps
1664 others if you provided the optional dependencies) will fail.
1665 </para>
1666 </sect3>
1667
1668 <sect3 role="commands">
1669 <title>Command Explanations</title>
1670
1671 <para>
1672 <command>python setup.py install --prefix=/usr</command>: This command
1673 installs the package. The prefix ensures that the programs are located
1674 in <filename class="directory">/usr/bin</filename> instead of
1675 <filename class="directory">/usr/local/bin</filename>.
1676 </para>
1677 </sect3>
1678
1679 <sect3 role="content">
1680 <title>Contents</title>
1681
1682 <segmentedlist>
1683 <segtitle>Installed Programs</segtitle>
1684 <segtitle>Installed Directories</segtitle>
1685
1686 <seglistitem>
1687 <seg>
1688 ipcluster, ipcontroller, ipengine, iplogger, iptest (if nose was
1689 installed), ipython, irunner, pycolor and a host of python scripts.
1690 </seg>
1691 <seg>
1692 /usr/lib/python&python2-majorver;/site-packages/IPython and
1693 /usr/share/doc/IPython.
1694 </seg>
1695 </seglistitem>
1696 </segmentedlist>
1697
1698 <variablelist>
1699 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
1700 <?dbfo list-presentation="list"?>
1701 <?dbhtml list-presentation="table"?>
1702
1703 <varlistentry id="ipcluster">
1704 <term><command>ipcluster</command></term>
1705 <listitem>
1706 <para>
1707 IPython parallel computing cluster control tool
1708 </para>
1709 <indexterm zone="ipython ipcluster">
1710 <primary sortas="b-ipcluster">ipcluster</primary>
1711 </indexterm>
1712 </listitem>
1713 </varlistentry>
1714
1715 <varlistentry id="ipcontroller">
1716 <term><command>ipcontroller</command></term>
1717 <listitem>
1718 <!-- this is what the manpage says! -->
1719 <para>
1720 IPython parallel computing controller control tool
1721 </para>
1722 <indexterm zone="ipython ipcontroller">
1723 <primary sortas="b-ipcontroller">ipcontroller</primary>
1724 </indexterm>
1725 </listitem>
1726 </varlistentry>
1727
1728 <varlistentry id="ipengine">
1729 <term><command>ipengine</command></term>
1730 <listitem>
1731 <para>
1732 IPython parallel computing engine control tool
1733 </para>
1734 <indexterm zone="ipython ipengine">
1735 <primary sortas="b-ipengine">ipengine</primary>
1736 </indexterm>
1737 </listitem>
1738 </varlistentry>
1739
1740 <varlistentry id="iplogger">
1741 <term><command>iplogger</command></term>
1742 <listitem>
1743 <para>
1744 IPython logger fpr parallel computing
1745 </para>
1746 <indexterm zone="ipython iplogger">
1747 <primary sortas="b-iplogger">iplogger</primary>
1748 </indexterm>
1749 </listitem>
1750 </varlistentry>
1751
1752 <varlistentry id="iptest">
1753 <term><command>iptest</command></term>
1754 <listitem>
1755 <para>
1756 runs the IPython testsuite
1757 </para>
1758 <indexterm zone="ipython iptest">
1759 <primary sortas="b-iptest">iptest</primary>
1760 </indexterm>
1761 </listitem>
1762 </varlistentry>
1763
1764 <varlistentry id="ipython-prog">
1765 <term><command>ipython</command></term>
1766 <listitem>
1767 <!-- again, description from the manpage -->
1768 <para>
1769 Tools for Interactive Computing in Python
1770 </para>
1771 <indexterm zone="ipython ipython">
1772 <primary sortas="b-ipython">ipython</primary>
1773 </indexterm>
1774 </listitem>
1775 </varlistentry>
1776
1777 <varlistentry id="irunner">
1778 <term><command>irunner</command></term>
1779 <listitem>
1780 <para>
1781 is an interface to IPython&apos;s runner module
1782 </para>
1783 <indexterm zone="ipython irunner">
1784 <primary sortas="b-irunner">irunner</primary>
1785 </indexterm>
1786 </listitem>
1787 </varlistentry>
1788
1789 <varlistentry id="pycolor">
1790 <term><command>pycolor</command></term>
1791 <listitem>
1792 <para>
1793 Colorize a python file or stdin using ANSI and print to stdout
1794 </para>
1795 <indexterm zone="ipython pycolor">
1796 <primary sortas="b-pycolor">pycolor</primary>
1797 </indexterm>
1798 </listitem>
1799 </varlistentry>
1800 </variablelist>
1801 </sect3>
1802 </sect2>
1803 <!-- End IPython -->
1804</sect1>
Note: See TracBrowser for help on using the repository browser.