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