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