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