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