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