Changeset d2b1e2e
- Timestamp:
- 08/08/2013 10:57:44 PM (11 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gimp3, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- cd419d8
- Parents:
- 57da0547
- Location:
- general/prog
- Files:
-
- 10 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/python-modules.xml
r57da0547 rd2b1e2e 4 4 <!ENTITY % general-entities SYSTEM "../../general.ent"> 5 5 %general-entities; 6 7 <!ENTITY dbus-python-download-http "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-&dbus-python-version;.tar.gz">8 <!ENTITY dbus-python-download-ftp " ">9 <!ENTITY dbus-python-md5sum "b09cd2d1a057cc432ce944de3fc06bf7">10 <!ENTITY dbus-python-size "592 KB">11 <!ENTITY dbus-python-buildsize "11 MB">12 <!ENTITY dbus-python-time "0.3 SBU">13 14 <!ENTITY notify-python-download-http15 "http://www.galago-project.org/files/releases/source/notify-python/notify-python-¬ify-python-version;.tar.bz2">16 <!ENTITY notify-python-download-ftp " ">17 <!ENTITY notify-python-md5sum "d247cf79b46cef7495deb0a76334f81d">18 <!ENTITY notify-python-size "212 KB">19 <!ENTITY notify-python-buildsize "2.3 MB">20 <!ENTITY notify-python-time "less than 0.1 SBU">21 22 <!ENTITY py2cairo-download-http23 "http://cairographics.org/releases/py2cairo-&py2cairo-version;.tar.bz2">24 <!ENTITY py2cairo-download-ftp " ">25 <!ENTITY py2cairo-md5sum "20337132c4ab06c1146ad384d55372c5">26 <!ENTITY py2cairo-size "400 KB">27 <!ENTITY py2cairo-buildsize "3.6 MB">28 <!ENTITY py2cairo-time "less than 0.1 SBU">29 30 <!ENTITY pycairo-download-http31 "http://cairographics.org/releases/pycairo-&pycairo-version;.tar.bz2">32 <!ENTITY pycairo-download-ftp " ">33 <!ENTITY pycairo-md5sum "e6fd3f2f1e6a72e0db0868c4985669c5">34 <!ENTITY pycairo-size "244 KB">35 <!ENTITY pycairo-buildsize "3.0 MB">36 <!ENTITY pycairo-time "less than 0.1 SBU">37 38 <!ENTITY pygobject2-download-http39 "&gnome-download-http;/pygobject/2.28/pygobject-&pygobject2-version;.tar.xz">40 <!ENTITY pygobject2-download-ftp41 "&gnome-download-ftp;/pygobject/2.28/pygobject-&pygobject2-version;.tar.xz">42 <!ENTITY pygobject2-md5sum "9415cb7f2b3a847f2310ccea258b101e">43 <!ENTITY pygobject2-size "730 KB">44 <!ENTITY pygobject2-buildsize "25 MB">45 <!ENTITY pygobject2-time "0.2 SBU">46 47 <!ENTITY pygobject3-download-http48 "&gnome-download-http;/pygobject/3.8/pygobject-&pygobject3-version;.tar.xz">49 <!ENTITY pygobject3-download-ftp50 "&gnome-download-ftp;/pygobject/3.8/pygobject-&pygobject3-version;.tar.xz">51 <!ENTITY pygobject3-md5sum "1621d68fcd522575ed0a9e7017004319">52 <!ENTITY pygobject3-size "644 KB">53 <!ENTITY pygobject3-buildsize "30 MB">54 <!ENTITY pygobject3-time "0.3 SBU">55 56 <!ENTITY pygtk-download-http57 "&gnome-download-http;/pygtk/2.24/pygtk-&pygtk-version;.tar.bz2">58 <!ENTITY pygtk-download-ftp59 "&gnome-download-ftp;/pygtk/2.24/pygtk-&pygtk-version;.tar.bz2">60 <!ENTITY pygtk-md5sum "a1051d5794fd7696d3c1af6422d17a49">61 <!ENTITY pygtk-size "2.2 MB">62 <!ENTITY pygtk-buildsize "83 MB">63 <!ENTITY pygtk-time "0.7 SBU">64 65 <!ENTITY pyatspi2-download-http66 "&gnome-download-http;/pyatspi/2.8/pyatspi-&pyatspi2-version;.tar.xz">67 <!ENTITY pyatspi2-download-ftp68 "&gnome-download-ftp;/pyatspi/2.8/pyatspi-&pyatspi2-version;.tar.xz">69 <!ENTITY pyatspi2-md5sum "930f51c62cca60ebdf90f735d26385b2">70 <!ENTITY pyatspi2-size "284 KB">71 <!ENTITY pyatspi2-buildsize "5.0 MB">72 <!ENTITY pyatspi2-time "less than 0.1 SBU">73 74 <!ENTITY pyrex-download-http75 "http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/Pyrex-&pyrex-version;.tar.gz">76 <!ENTITY pyrex-download-ftp " ">77 <!ENTITY pyrex-md5sum "515dee67d15d4393841e2d60e8341947">78 <!ENTITY pyrex-size "252 KB">79 <!ENTITY pyrex-buildsize "4.0 MB">80 <!ENTITY pyrex-time "less than 0.1 SBU">81 82 <!ENTITY pyxdg-download-http83 "http://people.freedesktop.org/~takluyver/pyxdg-&pyxdg-version;.tar.gz">84 <!ENTITY pyxdg-download-ftp " ">85 <!ENTITY pyxdg-md5sum "bedcdb3a0ed85986d40044c87f23477c">86 <!ENTITY pyxdg-size "48 KB">87 <!ENTITY pyxdg-buildsize "800 KB">88 <!ENTITY pyxdg-time "less than 0.1 SBU">89 6 ]> 90 7 91 <sect1 id="python-modules" xreflabel="Python modules">8 <sect1 id="python-modules" xreflabel="Python Modules"> 92 9 <?dbhtml filename="python-modules.html" ?> 93 10 … … 100 17 101 18 <indexterm zone="python-modules"> 102 <primary sortas="a-Python- modules">Python modules</primary>19 <primary sortas="a-Python-Modules">Python Modules</primary> 103 20 </indexterm> 104 21 … … 168 85 </sect2> 169 86 170 <!-- Begin D-Bus Python --> 171 <sect2 id="dbus-python" xreflabel="D-Bus Python-&dbus-python-version;"> 172 <title>D-Bus Python</title> 87 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 88 href="dbus-python.xml"/> 173 89 174 <indexterm zone="dbus-python"> 175 <primary sortas="a-dbus-python">dbus-python</primary> 176 </indexterm> 90 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 91 href="notify-python.xml"/> 177 92 178 <sect3 role="package">179 <title>Introduction to D-Bus Python Module</title>93 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 94 href="py2cairo.xml"/> 180 95 181 <para> 182 <application>D-Bus Python</application> provides 183 <application>Python</application> bindings to the 184 <application>D-Bus</application>. 185 </para> 96 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 97 href="pycairo.xml"/> 186 98 187 &lfs73_checked; 99 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 100 href="pygobject2.xml"/> 188 101 189 <bridgehead renderas="sect4">Package Information</bridgehead> 190 <itemizedlist spacing="compact"> 191 <listitem> 192 <para> 193 Download (HTTP): <ulink url="&dbus-python-download-http;"/> 194 </para> 195 </listitem> 196 <listitem> 197 <para> 198 Download (FTP): <ulink url="&dbus-python-download-ftp;"/> 199 </para> 200 </listitem> 201 <listitem> 202 <para> 203 Download MD5 sum: &dbus-python-md5sum; 204 </para> 205 </listitem> 206 <listitem> 207 <para> 208 Download size: &dbus-python-size; 209 </para> 210 </listitem> 211 <listitem> 212 <para> 213 Estimated disk space required: &dbus-python-buildsize; 214 </para> 215 </listitem> 216 <listitem> 217 <para> 218 Estimated build time: &dbus-python-time; 219 </para> 220 </listitem> 221 </itemizedlist> 102 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 103 href="pygobject3.xml"/> 222 104 223 <bridgehead renderas="sect4">D-Bus Python Dependencies</bridgehead> 105 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 106 href="pygtk.xml"/> 224 107 225 <bridgehead renderas="sect5">Required</bridgehead> 226 <para role="required"> 227 <xref linkend="dbus-glib"/> and 228 <xref linkend="python2"/> and/or 229 <xref linkend="python3"/> 230 </para> 108 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 109 href="pyatspi2.xml"/> 231 110 232 <bridgehead renderas="sect5"> 233 Optional (Required to build the API and HTML Documentation) 234 </bridgehead> 235 <para role="optional"> 236 <ulink url="http://epydoc.sourceforge.net/">Epydoc</ulink> and 237 <ulink url="http://docutils.sourceforge.net/">Docutils</ulink> 238 </para> 111 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 112 href="pyrex.xml"/> 239 113 240 <para condition="html" role="usernotes">User Notes: 241 <ulink url="&blfs-wiki;/dbus-python"/> 242 </para> 243 </sect3> 244 245 <sect3 role="installation"> 246 <title>Installation of D-Bus Python</title> 247 248 <note> 249 <para> 250 Both <application>Python 2</application> and 251 <application>Python 3</application> modules can 252 be built and installed without any conflicts. 253 </para> 254 </note> 255 256 <para> 257 To build <application>D-Bus Python</application> as the 258 <application>Python 2</application> module, run the 259 following commands: 260 </para> 261 262 <screen><userinput>mkdir python2 && 263 pushd python2 && 264 PYTHON=/usr/bin/python \ 265 ../configure --prefix=/usr \ 266 --docdir=/usr/share/doc/dbus-python-&dbus-python-version; && 267 make && 268 popd</userinput></screen> 269 270 <para> 271 To test the results, issue: <command>make -C python2 check</command>. 272 </para> 273 274 <para> 275 To build <application>D-Bus Python</application> as the 276 <application>Python 3</application> module, run the 277 following commands: 278 </para> 279 280 <screen><userinput>mkdir python3 && 281 pushd python3 && 282 PYTHON=/usr/bin/python3 \ 283 ../configure --prefix=/usr \ 284 --docdir=/usr/share/doc/dbus-python-&dbus-python-version; && 285 make && 286 popd</userinput></screen> 287 288 <para> 289 To test the results, issue: <command>make -C python3 check</command>. 290 </para> 291 292 <para> 293 To install the <application>Python 2</application> module, 294 run the following command as the 295 <systemitem class="username">root</systemitem> user: 296 </para> 297 298 <screen role="root"><userinput>make -C python2 install</userinput></screen> 299 300 <para> 301 To install the <application>Python 3</application> module, 302 run the following command as the 303 <systemitem class="username">root</systemitem> user: 304 </para> 305 306 <screen role="root"><userinput>make -C python3 install</userinput></screen> 307 308 </sect3> 309 310 <sect3 role="content"> 311 <title>Contents</title> 312 313 <segmentedlist> 314 <segtitle>Installed Programs</segtitle> 315 <segtitle>Installed Libraries</segtitle> 316 <segtitle>Installed Directories</segtitle> 317 318 <seglistitem> 319 <seg> 320 None 321 </seg> 322 <seg> 323 None 324 </seg> 325 <seg> 326 /usr/share/doc/dbus-python-&dbus-python-version; and 327 /usr/lib/python&python2-majorver;/site-packages/dbus and/or 328 /usr/lib/python&python3-majorver;/site-packages/dbus 329 </seg> 330 </seglistitem> 331 </segmentedlist> 332 333 </sect3> 334 335 </sect2> 336 <!-- End D-Bus Python --> 337 338 <!-- Begin Notify Python --> 339 <sect2 id="notify-python" xreflabel="Notify Python-¬ify-python-version;"> 340 341 <title>Notify Python-¬ify-python-version;</title> 342 343 <indexterm zone="notify-python"> 344 <primary sortas="a-notify-python">notify-python</primary> 345 </indexterm> 346 347 <sect3 role="package"> 348 <title>Introduction to Notify Python Module</title> 349 350 <para> 351 Notify Python provides <application>Python 2</application> 352 bindings to the <application>libnotify</application>. 353 </para> 354 355 &lfs73_checked; 356 357 <bridgehead renderas="sect4">Package Information</bridgehead> 358 <itemizedlist spacing="compact"> 359 <listitem> 360 <para> 361 Download (HTTP): <ulink url="¬ify-python-download-http;"/> 362 </para> 363 </listitem> 364 <listitem> 365 <para> 366 Download (FTP): <ulink url="¬ify-python-download-ftp;"/> 367 </para> 368 </listitem> 369 <listitem> 370 <para> 371 Download MD5 sum: ¬ify-python-md5sum; 372 </para> 373 </listitem> 374 <listitem> 375 <para> 376 Download size: ¬ify-python-size; 377 </para> 378 </listitem> 379 <listitem> 380 <para> 381 Estimated disk space required: ¬ify-python-buildsize; 382 </para> 383 </listitem> 384 <listitem> 385 <para> 386 Estimated build time: ¬ify-python-time; 387 </para> 388 </listitem> 389 </itemizedlist> 390 391 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 392 <itemizedlist spacing="compact"> 393 <listitem> 394 <para> 395 Required patch: 396 <ulink url="&patch-root;/notify-python-¬ify-python-version;-libnotify-0.7-1.patch"/> 397 </para> 398 </listitem> 399 </itemizedlist> 400 401 <bridgehead renderas="sect4">Notify Python Dependencies</bridgehead> 402 403 <bridgehead renderas="sect5">Required</bridgehead> 404 <para role="required"> 405 <xref linkend="libnotify"/> and 406 <xref linkend="pygtk"/> (with <xref linkend="gtk2"/> support). 407 </para> 408 409 <para condition="html" role="usernotes"> 410 User Notes: <ulink url="&blfs-wiki;/notify-python"/> 411 </para> 412 </sect3> 413 414 <sect3 role="installation"> 415 <title>Installation of Notify Python</title> 416 417 <para> 418 Install <application>Notify Python</application> by running the following 419 commands: 420 </para> 421 422 <screen><userinput>patch -Np1 -i ../notify-python-¬ify-python-version;-libnotify-0.7-1.patch && 423 ./configure --prefix=/usr && 424 make</userinput></screen> 425 426 <para> 427 This package does not come with a testsuite. 428 </para> 429 430 <para> 431 Now, as the <systemitem class="username">root</systemitem> user: 432 </para> 433 434 <screen role="root"><userinput>make install</userinput></screen> 435 </sect3> 436 437 <sect3 role="content"> 438 <title>Contents</title> 439 440 <segmentedlist> 441 <segtitle>Installed Programs</segtitle> 442 <segtitle>Installed Libraries</segtitle> 443 <segtitle>Installed Directory</segtitle> 444 445 <seglistitem> 446 <seg> 447 None 448 </seg> 449 <seg> 450 None 451 </seg> 452 <seg> 453 /usr/lib/python&python2-majorver;/site-packages/gtk-2.0/pynotify 454 </seg> 455 </seglistitem> 456 </segmentedlist> 457 </sect3> 458 </sect2> 459 <!-- End Notify Python --> 460 461 <!-- Begin Py2cairo --> 462 <sect2 id="py2cairo" xreflabel="Py2cairo-&py2cairo-version;"> 463 464 <title>Py2cairo-&py2cairo-version;</title> 465 466 <indexterm zone="py2cairo"> 467 <primary sortas="a-Py2cairo">Py2cairo</primary> 468 </indexterm> 469 470 <sect3 role="package"> 471 <title>Introduction to Py2cairo Module</title> 472 473 <para> 474 Py2cairo provides <application>Python 2</application> bindings to 475 <application>Cairo</application>. 476 </para> 477 478 &lfs73_checked; 479 480 <bridgehead renderas="sect4">Package Information</bridgehead> 481 <itemizedlist spacing="compact"> 482 <listitem> 483 <para> 484 Download (HTTP): <ulink url="&py2cairo-download-http;"/> 485 </para> 486 </listitem> 487 <listitem> 488 <para> 489 Download (FTP): <ulink url="&py2cairo-download-ftp;"/> 490 </para> 491 </listitem> 492 <listitem> 493 <para> 494 Download MD5 sum: &py2cairo-md5sum; 495 </para> 496 </listitem> 497 <listitem> 498 <para> 499 Download size: &py2cairo-size; 500 </para> 501 </listitem> 502 <listitem> 503 <para> 504 Estimated disk space required: &py2cairo-buildsize; 505 </para> 506 </listitem> 507 <listitem> 508 <para> 509 Estimated build time: &py2cairo-time; 510 </para> 511 </listitem> 512 </itemizedlist> 513 514 <bridgehead renderas="sect4">Py2cairo Dependencies</bridgehead> 515 516 <bridgehead renderas="sect5">Required</bridgehead> 517 <para role="required"> 518 <xref linkend="python2"/> and 519 <xref linkend="cairo"/> 520 </para> 521 522 <bridgehead renderas="sect5">Optional</bridgehead> 523 <para role="optional"> 524 <ulink url="http://pytest.org">pytest</ulink> 525 </para> 526 527 <para condition="html" role="usernotes"> 528 User Notes: <ulink url="&blfs-wiki;/py2cairo"/> 529 </para> 530 </sect3> 531 532 <sect3 role="installation"> 533 <title>Installation of Py2cairo</title> 534 535 <para> 536 Install <application>Py2cairo</application> by running the following 537 commands: 538 </para> 539 540 <screen><userinput>./waf configure --prefix=/usr && 541 ./waf build</userinput></screen> 542 543 <para> 544 The test suite must be run after the package is installed. 545 </para> 546 547 <para> 548 Now, as the <systemitem class="username">root</systemitem> user: 549 </para> 550 551 <screen role="root"><userinput>./waf install</userinput></screen> 552 553 <para> 554 The test suite requires the optional <application>pytest</application> 555 package. If installed, it is run by changing to the 556 <filename class='directory'>test</filename> directory and running 557 <userinput>py.test</userinput> an an unprivileged user. 558 </para> 559 </sect3> 560 561 <sect3 role="content"> 562 <title>Contents</title> 563 564 <segmentedlist> 565 <segtitle>Installed Programs</segtitle> 566 <segtitle>Installed Library</segtitle> 567 <segtitle>Installed Directory</segtitle> 568 569 <seglistitem> 570 <seg> 571 None 572 </seg> 573 <seg> 574 _cairo.so 575 </seg> 576 <seg> 577 /usr/include/pycairo and 578 /usr/lib/python&python2-majorver;/site-packages/cairo 579 </seg> 580 </seglistitem> 581 </segmentedlist> 582 </sect3> 583 </sect2> 584 <!-- End Py2cairo --> 585 586 <!-- Begin PyCairo --> 587 <sect2 id="pycairo" xreflabel="PyCairo-&pycairo-version;"> 588 589 <title>PyCairo-&pycairo-version;</title> 590 591 <indexterm zone="pycairo"> 592 <primary sortas="a-PyCairo">PyCairo</primary> 593 </indexterm> 594 595 <sect3 role="package"> 596 <title>Introduction to PyCairo Module</title> 597 598 <para> 599 PyCairo provides <application>Python 3</application> bindings to 600 <application>Cairo</application>. 601 </para> 602 603 &lfs73_checked; 604 605 <bridgehead renderas="sect4">Package Information</bridgehead> 606 <itemizedlist spacing="compact"> 607 <listitem> 608 <para> 609 Download (HTTP): <ulink url="&pycairo-download-http;"/> 610 </para> 611 </listitem> 612 <listitem> 613 <para> 614 Download (FTP): <ulink url="&pycairo-download-ftp;"/> 615 </para> 616 </listitem> 617 <listitem> 618 <para> 619 Download MD5 sum: &pycairo-md5sum; 620 </para> 621 </listitem> 622 <listitem> 623 <para> 624 Download size: &pycairo-size; 625 </para> 626 </listitem> 627 <listitem> 628 <para> 629 Estimated disk space required: &pycairo-buildsize; 630 </para> 631 </listitem> 632 <listitem> 633 <para> 634 Estimated build time: &pycairo-time; 635 </para> 636 </listitem> 637 </itemizedlist> 638 639 <bridgehead renderas="sect4">PyCairo Dependencies</bridgehead> 640 641 <bridgehead renderas="sect5">Required</bridgehead> 642 <para role="required"> 643 <xref linkend="cairo"/> and 644 <xref linkend="python3"/> 645 </para> 646 647 <para condition="html" role="usernotes"> 648 User Notes: <ulink url="&blfs-wiki;/pycairo"/> 649 </para> 650 </sect3> 651 652 <sect3 role="installation"> 653 <title>Installation of PyCairo</title> 654 655 <para> 656 Install <application>PyCairo</application> by running the following 657 commands: 658 </para> 659 660 <screen><userinput>PYTHON=/usr/bin/python3 ./waf configure --prefix=/usr && 661 ./waf build</userinput></screen> 662 663 <para> 664 This package does not come with a test suite. 665 </para> 666 667 <para> 668 Now, as the <systemitem class="username">root</systemitem> user: 669 </para> 670 671 <screen role="root"><userinput>./waf install</userinput></screen> 672 673 </sect3> 674 675 <sect3 role="content"> 676 <title>Contents</title> 677 678 <segmentedlist> 679 <segtitle>Installed Programs</segtitle> 680 <segtitle>Installed Library</segtitle> 681 <segtitle>Installed Directory</segtitle> 682 683 <seglistitem> 684 <seg> 685 None 686 </seg> 687 <seg> 688 None 689 </seg> 690 <seg> 691 /usr/include/pycairo and 692 /usr/lib/python&python3-majorver;/site-packages/cairo 693 </seg> 694 </seglistitem> 695 </segmentedlist> 696 </sect3> 697 </sect2> 698 <!-- End PyCairo --> 699 700 <!-- Begin PyGObject2 --> 701 <sect2 id="pygobject2" xreflabel="PyGObject-&pygobject2-version;"> 702 703 <title>PyGObject-&pygobject2-version;</title> 704 705 <indexterm zone="pygobject2"> 706 <primary sortas="a-PyGObject">PyGObject</primary> 707 </indexterm> 708 709 <sect3 role="package"> 710 <title>Introduction to PyGObject Module</title> 711 712 <para> 713 PyGObject-&pygobject2-version; provides 714 <application>Python 2</application> bindings to the GObject class from 715 <application>GLib</application>. 716 </para> 717 718 &lfs73_checked; 719 720 <bridgehead renderas="sect4">Package Information</bridgehead> 721 <itemizedlist spacing="compact"> 722 <listitem> 723 <para> 724 Download (HTTP): <ulink url="&pygobject2-download-http;"/> 725 </para> 726 </listitem> 727 <listitem> 728 <para> 729 Download (FTP): <ulink url="&pygobject2-download-ftp;"/> 730 </para> 731 </listitem> 732 <listitem> 733 <para> 734 Download MD5 sum: &pygobject2-md5sum; 735 </para> 736 </listitem> 737 <listitem> 738 <para> 739 Download size: &pygobject2-size; 740 </para> 741 </listitem> 742 <listitem> 743 <para> 744 Estimated disk space required: &pygobject2-buildsize; 745 </para> 746 </listitem> 747 <listitem> 748 <para> 749 Estimated build time: &pygobject2-time; 750 </para> 751 </listitem> 752 </itemizedlist> 753 754 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 755 <itemizedlist spacing="compact"> 756 <listitem> 757 <para> 758 Optional patch: 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 If you have installed <xref linkend="gobject-introspection"/>, apply the 788 required patch by running the following commands: 789 </para> 790 791 <screen><userinput>patch -p1 < ../pygobject-&pygobject2-version;-introspection-1.patch</userinput></screen> 792 793 <para> 794 Install <application>PyGObject</application> by running the following 795 commands: 796 </para> 797 798 <screen><userinput>./configure --prefix=/usr --disable-introspection && 799 make</userinput></screen> 800 801 <para> 802 This package does not have a working testsuite. 803 </para> 804 805 <para> 806 Now, as the <systemitem class="username">root</systemitem> user: 807 </para> 808 809 <screen role="root"><userinput>make install</userinput></screen> 810 </sect3> 811 812 <sect3 role="commands"> 813 <title>Command Explanations</title> 814 815 <para> 816 <option>--disable-introspection</option>: Omit this switch if you have 817 installed <xref linkend="gobject-introspection"/>. Note that it 818 conflicts with <xref linkend="pygobject3"/>. 819 </para> 820 821 <para> 822 <option>--disable-docs</option>: This option disables the rebuilding of 823 the html documentation if <xref linkend="libxslt"/> is installed. 824 </para> 825 826 </sect3> 827 828 <sect3 role="content"> 829 <title>Contents</title> 830 831 <segmentedlist> 832 <segtitle>Installed Programs</segtitle> 833 <segtitle>Installed Libraries</segtitle> 834 <segtitle>Installed Directories</segtitle> 835 836 <seglistitem> 837 <seg>pygobject-codegen-2.0</seg> 838 <seg> 839 libpyglib-2.0-python.so, 840 _gio.so, 841 unix.so, 842 _glib.so and 843 _gobject.so. 844 </seg> 845 <seg> 846 /usr/include/pygtk-2.0, 847 /usr/lib/python&python2-majorver;/site-packages/gtk-2.0/{gio,glib,gobject}, 848 /usr/share/gtk-doc/html/pygobject and 849 /usr/share/pygobject/2.0 850 </seg> 851 </seglistitem> 852 </segmentedlist> 853 </sect3> 854 </sect2> 855 <!-- End PyGObject2 --> 856 857 <!-- Begin PyGObject3 --> 858 <sect2 id="pygobject3" xreflabel="PyGObject-&pygobject3-version;"> 859 860 <title>PyGObject-&pygobject3-version;</title> 861 862 <indexterm zone="pygobject3"> 863 <primary sortas="a-PyGObject3">PyGObject3</primary> 864 </indexterm> 865 866 <sect3 role="package"> 867 <title>Introduction to PyGObject3 Module</title> 868 869 <para> 870 <application>PyGObject3</application> provides 871 <application>Python</application> bindings to the GObject 872 class from <application>GLib</application>. 873 </para> 874 875 &lfs73_checked; 876 877 <bridgehead renderas="sect4">Package Information</bridgehead> 878 <itemizedlist spacing="compact"> 879 <listitem> 880 <para> 881 Download (HTTP): <ulink url="&pygobject3-download-http;"/> 882 </para> 883 </listitem> 884 <listitem> 885 <para> 886 Download (FTP): <ulink url="&pygobject3-download-ftp;"/> 887 </para> 888 </listitem> 889 <listitem> 890 <para> 891 Download MD5 sum: &pygobject3-md5sum; 892 </para> 893 </listitem> 894 <listitem> 895 <para> 896 Download size: &pygobject3-size; 897 </para> 898 </listitem> 899 <listitem> 900 <para> 901 Estimated disk space required: &pygobject3-buildsize; 902 </para> 903 </listitem> 904 <listitem> 905 <para> 906 Estimated build time: &pygobject3-time; 907 </para> 908 </listitem> 909 </itemizedlist> 910 911 <bridgehead renderas="sect4">PyGObject3 Dependencies</bridgehead> 912 913 <bridgehead renderas="sect5">Required</bridgehead> 914 <para role="required"> 915 <xref linkend="gobject-introspection"/> and 916 <xref linkend="py2cairo"/> 917 (for <application>Python 2</application> bindings) and/or 918 <xref linkend="pycairo"/> 919 (for <application>Python 3</application> bindings) 920 </para> 921 922 <para condition="html" role="usernotes"> 923 User Notes: <ulink url="&blfs-wiki;/pygobject3"/> 924 </para> 925 </sect3> 926 927 <sect3 role="installation"> 928 <title>Installation of PyGObject3</title> 929 930 <note> 931 <para> 932 Both <application>Python 2</application> and 933 <application>Python 3</application> modules can 934 be built and installed without any conflicts. 935 </para> 936 </note> 937 938 <para> 939 To build <application>PyGObject3</application> as the 940 <application>Python 2</application> module, run the 941 following commands: 942 </para> 943 944 <screen><userinput>mkdir python2 && 945 pushd python2 && 946 ../configure --prefix=/usr --with-python=/usr/bin/python && 947 make && 948 popd</userinput></screen> 949 950 <para> 951 To test the results, issue: <command>make -C python2 check</command>. 952 </para> 953 954 <para> 955 To build <application>PyGObject3</application> as the 956 <application>Python 3</application> module, run the 957 following commands: 958 </para> 959 960 <screen><userinput>mkdir python3 && 961 pushd python3 && 962 ../configure --prefix=/usr --with-python=/usr/bin/python3 && 963 make && 964 popd</userinput></screen> 965 966 <para> 967 To test the results, issue: <command>make -C python3 check</command>. 968 </para> 969 970 <para> 971 To install the <application>Python 2</application> module, 972 run the following command as the 973 <systemitem class="username">root</systemitem> user: 974 </para> 975 976 <screen role="root"><userinput>make -C python2 install</userinput></screen> 977 978 <para> 979 To install the <application>Python 3</application> module, 980 run the following command as the 981 <systemitem class="username">root</systemitem> user: 982 </para> 983 984 <screen role="root"><userinput>make -C python3 install</userinput></screen> 985 986 </sect3> 987 988 <sect3 role="content"> 989 <title>Contents</title> 990 991 <segmentedlist> 992 <segtitle>Installed Programs</segtitle> 993 <segtitle>Installed Library</segtitle> 994 <segtitle>Installed Directories</segtitle> 995 996 <seglistitem> 997 <seg> 998 None 999 </seg> 1000 <seg> 1001 libpyglib-gi-2.0-python.so and/or 1002 libpyglib-gi-2.0-python3.so 1003 </seg> 1004 <seg> 1005 /usr/include/pygobject-3.0 and 1006 /usr/lib/python&python2-majorver;/site-packages/{gi,pygtkcompat} and/or 1007 /usr/lib/python&python3-majorver;/site-packages/{gi,pygtkcompat} 1008 </seg> 1009 </seglistitem> 1010 </segmentedlist> 1011 1012 </sect3> 1013 1014 </sect2> 1015 <!-- End PyGObject --> 1016 1017 <!-- Begin PyGTK --> 1018 <sect2 id="pygtk" xreflabel="PyGTK-&pygtk-version;"> 1019 1020 <title>PyGTK-&pygtk-version;</title> 1021 1022 <indexterm zone="pygtk"> 1023 <primary sortas="a-PyGTK">PyGTK</primary> 1024 </indexterm> 1025 1026 <sect3 role="package"> 1027 <title>Introduction to PyGTK Module</title> 1028 1029 <para> 1030 PyGTK lets you to easily create programs with a graphical user interface 1031 using the <application>Python</application> programming language. 1032 </para> 1033 1034 &lfs73_checked; 1035 1036 <bridgehead renderas="sect4">Package Information</bridgehead> 1037 <itemizedlist spacing="compact"> 1038 <listitem> 1039 <para> 1040 Download (HTTP): <ulink url="&pygtk-download-http;"/> 1041 </para> 1042 </listitem> 1043 <listitem> 1044 <para> 1045 Download (FTP): <ulink url="&pygtk-download-ftp;"/> 1046 </para> 1047 </listitem> 1048 <listitem> 1049 <para> 1050 Download MD5 sum: &pygtk-md5sum; 1051 </para> 1052 </listitem> 1053 <listitem> 1054 <para> 1055 Download size: &pygtk-size; 1056 </para> 1057 </listitem> 1058 <listitem> 1059 <para> 1060 Estimated disk space required: &pygtk-buildsize; 1061 </para> 1062 </listitem> 1063 <listitem> 1064 <para> 1065 Estimated build time: &pygtk-time; 1066 </para> 1067 </listitem> 1068 </itemizedlist> 1069 1070 <bridgehead renderas="sect4">PyGTK Dependencies</bridgehead> 1071 1072 <bridgehead renderas="sect5">Required</bridgehead> 1073 <para role="required"> 1074 <xref linkend="pygobject2"/> 1075 </para> 1076 1077 <bridgehead renderas="sect5">Required (atk module)</bridgehead> 1078 <para role="required"> 1079 <xref linkend="atk"/> 1080 </para> 1081 1082 <bridgehead renderas="sect5">Required (pango module)</bridgehead> 1083 <para role="required"> 1084 <xref linkend="pango"/> 1085 </para> 1086 1087 <bridgehead renderas="sect5">Required (pangocairo module)</bridgehead> 1088 <para role="required"> 1089 <xref linkend="py2cairo"/> and 1090 <xref linkend="pango"/> 1091 </para> 1092 1093 <bridgehead renderas="sect5">Required (gtk and gtk.unixprint modules)</bridgehead> 1094 <para role="required"> 1095 <xref linkend="py2cairo"/> and 1096 <xref linkend="gtk2"/>. 1097 </para> 1098 1099 <bridgehead renderas="sect5">Required (gtk.glade module)</bridgehead> 1100 <para role="required"> 1101 <xref linkend="py2cairo"/> and 1102 <xref linkend="libglade"/>. 1103 </para> 1104 1105 <bridgehead renderas="sect5">Optional</bridgehead> 1106 <para role="optional"> 1107 <ulink url="http://sourceforge.net/projects/numpy/">NumPy</ulink> 1108 </para> 1109 1110 <bridgehead renderas="sect5">Optional (to Build Documentation)</bridgehead> 1111 <para role="optional"> 1112 <xref linkend="libxslt"/> 1113 </para> 1114 1115 <para condition="html" role="usernotes"> 1116 User Notes: <ulink url="&blfs-wiki;/pygtk"/> 1117 </para> 1118 </sect3> 1119 1120 <sect3 role="installation"> 1121 <title>Installation of PyGTK</title> 1122 1123 <para> 1124 Install <application>PyGTK</application> by running the following 1125 commands: 1126 </para> 1127 1128 <screen><userinput>./configure --prefix=/usr && 1129 make</userinput></screen> 1130 1131 <para> 1132 The tests must be run from an active X display. If this is so, issue: 1133 <command>make check</command>. 1134 </para> 1135 1136 <para> 1137 Now, as the <systemitem class="username">root</systemitem> user: 1138 </para> 1139 1140 <screen role="root"><userinput>make install</userinput></screen> 1141 </sect3> 1142 1143 <sect3 role="commands"> 1144 <title>Command Explanations</title> 1145 1146 <para> 1147 <parameter>--enable-docs</parameter>: This option enables rebuilding the 1148 html documentation if <xref linkend="libxslt"/> is installed. 1149 </para> 1150 </sect3> 1151 1152 <sect3 role="content"> 1153 <title>Contents</title> 1154 1155 <segmentedlist> 1156 <segtitle>Installed Programs</segtitle> 1157 <segtitle>Installed Libraries</segtitle> 1158 <segtitle>Installed Directories</segtitle> 1159 1160 <seglistitem> 1161 <seg>pygtk-codegen-2.0 and pygtk-demo.</seg> 1162 <seg> 1163 atk.so, 1164 _gtk.so, 1165 glade.so, 1166 gtkunixprint.so, 1167 pango.so and 1168 pangocairo.so. 1169 </seg> 1170 <seg> 1171 /usr/include/pygtk-2.0, 1172 /usr/lib/pygtk, 1173 /usr/lib/python&python2-majorver;/site-packages/gtk-2.0, 1174 /usr/share/gtk-doc/html/pygtk and 1175 /usr/share/pygtk. 1176 </seg> 1177 </seglistitem> 1178 </segmentedlist> 1179 1180 <variablelist> 1181 <bridgehead renderas="sect4">Short Descriptions</bridgehead> 1182 <?dbfo list-presentation="list"?> 1183 <?dbhtml list-presentation="table"?> 1184 1185 <varlistentry id="pygtk-codegen-2.0"> 1186 <term><command>pygtk-codegen-2.0</command></term> 1187 <listitem> 1188 <para> 1189 is a wrapper script to run the <application>PyGTK</application> 1190 codegen module. 1191 </para> 1192 <indexterm zone="pygtk pygtk-codegen-2.0"> 1193 <primary sortas="b-pygtk-codegen-2.0">pygtk-codegen-2.0</primary> 1194 </indexterm> 1195 </listitem> 1196 </varlistentry> 1197 1198 <varlistentry id="pygtk-demo"> 1199 <term><command>pygtk-demo</command></term> 1200 <listitem> 1201 <para> 1202 is a Python wrapper to run the <application>PyGTK</application> 1203 demo program. 1204 </para> 1205 <indexterm zone="pygtk pygtk-demo"> 1206 <primary sortas="b-pygtk-demo">pygtk-demo</primary> 1207 </indexterm> 1208 </listitem> 1209 </varlistentry> 1210 </variablelist> 1211 </sect3> 1212 </sect2> 1213 <!-- End PyGTK --> 1214 1215 <!-- Begin PyAtSpi2 --> 1216 <sect2 id="pyatspi2" xreflabel="PyAtSpi2-&pyatspi2-version;"> 1217 1218 <title>PyAtSpi2-&pyatspi2-version;</title> 1219 1220 <indexterm zone="pyatspi2"> 1221 <primary sortas="a-PyAtSpi2">PyAtSpi2</primary> 1222 </indexterm> 1223 1224 <sect3 role="package"> 1225 <title>Introduction to PyAtSpi2</title> 1226 1227 <para> 1228 The <application>PyAtSpi2</application> package contains 1229 <application>Python</application> bindings for the core 1230 components of the <application>GNOME</application> 1231 Accessibility. 1232 </para> 1233 1234 &lfs73_checked; 1235 1236 <bridgehead renderas="sect4">Package Information</bridgehead> 1237 <itemizedlist spacing="compact"> 1238 <listitem> 1239 <para> 1240 Download (HTTP): <ulink url="&pyatspi2-download-http;"/> 1241 </para> 1242 </listitem> 1243 <listitem> 1244 <para> 1245 Download (FTP): <ulink url="&pyatspi2-download-ftp;"/> 1246 </para> 1247 </listitem> 1248 <listitem> 1249 <para> 1250 Download MD5 sum: &pyatspi2-md5sum; 1251 </para> 1252 </listitem> 1253 <listitem> 1254 <para> 1255 Download size: &pyatspi2-size; 1256 </para> 1257 </listitem> 1258 <listitem> 1259 <para> 1260 Estimated disk space required: &pyatspi2-buildsize; 1261 </para> 1262 </listitem> 1263 <listitem> 1264 <para> 1265 Estimated build time: &pyatspi2-time; 1266 </para> 1267 </listitem> 1268 </itemizedlist> 1269 1270 <bridgehead renderas="sect4">PyAtSpi2 Dependencies</bridgehead> 1271 1272 <bridgehead renderas="sect5">Required</bridgehead> 1273 <para role="required"> 1274 <xref linkend="pygobject3"/> 1275 </para> 1276 1277 <bridgehead renderas="sect5">Recommended</bridgehead> 1278 <para role="recommended"> 1279 <xref linkend="at-spi2-core"/> 1280 </para> 1281 1282 <para condition="html" role="usernotes"> 1283 User Notes: <ulink url="&blfs-wiki;/pyatspi2"/> 1284 </para> 1285 1286 </sect3> 1287 1288 <sect3 role="installation"> 1289 <title>Installation of PyAtSpi2</title> 1290 1291 <note> 1292 <para> 1293 Both <application>Python 2</application> and 1294 <application>Python 3</application> modules can 1295 be built and installed without any conflicts. 1296 </para> 1297 </note> 1298 1299 <para> 1300 To build <application>PyAtSpi2</application> as the 1301 <application>Python 2</application> module, run the 1302 following commands: 1303 </para> 1304 1305 <screen><userinput>mkdir python2 && 1306 pushd python2 && 1307 ../configure --prefix=/usr --with-python=/usr/bin/python && 1308 make && 1309 popd</userinput></screen> 1310 1311 <para> 1312 To build <application>PyAtSpi2</application> as the 1313 <application>Python 3</application> module, run the 1314 following commands: 1315 </para> 1316 1317 <screen><userinput>mkdir python3 && 1318 pushd python3 && 1319 ../configure --prefix=/usr --with-python=/usr/bin/python3 && 1320 make && 1321 popd</userinput></screen> 1322 1323 <para> 1324 This package does not come with a testsuite. 1325 </para> 1326 1327 <para> 1328 To install the <application>Python 2</application> module, 1329 run the following command as the 1330 <systemitem class="username">root</systemitem> user: 1331 </para> 1332 1333 <screen role="root"><userinput>make -C python2 install</userinput></screen> 1334 1335 <para> 1336 To install the <application>Python 3</application> module, 1337 run the following command as the 1338 <systemitem class="username">root</systemitem> user: 1339 </para> 1340 1341 <screen role="root"><userinput>make -C python3 install</userinput></screen> 1342 1343 </sect3> 1344 1345 <sect3 role="content"> 1346 <title>Contents</title> 1347 1348 <segmentedlist> 1349 <segtitle>Installed Programs</segtitle> 1350 <segtitle>Installed Libraries</segtitle> 1351 <segtitle>Installed Directory</segtitle> 1352 1353 <seglistitem> 1354 <seg> 1355 None 1356 </seg> 1357 <seg> 1358 None 1359 </seg> 1360 <seg> 1361 /usr/lib/python&python2-majorver;/site-packages/pyatspi and/or 1362 /usr/lib/python&python3-majorver;/site-packages/pyatspi 1363 </seg> 1364 </seglistitem> 1365 </segmentedlist> 1366 1367 </sect3> 1368 1369 </sect2> 1370 <!-- End PyAtSpi2 --> 1371 1372 <!-- Begin Pyrex --> 1373 <sect2 id="pyrex" xreflabel="Pyrex-&pyrex-version;"> 1374 1375 <title>Pyrex-&pyrex-version;</title> 1376 1377 <indexterm zone="pyrex"> 1378 <primary sortas="a-Pyrex">Pyrex</primary> 1379 </indexterm> 1380 1381 <sect3 role="package"> 1382 <title>Introduction to Pyrex Module</title> 1383 1384 <para> 1385 <application>Pyrex</application> is language used for writing 1386 <application>Python</application> extension modules. 1387 </para> 1388 1389 &lfs73_checked; 1390 1391 <bridgehead renderas="sect4">Package Information</bridgehead> 1392 <itemizedlist spacing="compact"> 1393 <listitem> 1394 <para> 1395 Download (HTTP): <ulink url="&pyrex-download-http;"/> 1396 </para> 1397 </listitem> 1398 <listitem> 1399 <para> 1400 Download (FTP): <ulink url="&pyrex-download-ftp;"/> 1401 </para> 1402 </listitem> 1403 <listitem> 1404 <para> 1405 Download MD5 sum: &pyrex-md5sum; 1406 </para> 1407 </listitem> 1408 <listitem> 1409 <para> 1410 Download size: &pyrex-size; 1411 </para> 1412 </listitem> 1413 <listitem> 1414 <para> 1415 Estimated disk space required: &pyrex-buildsize; 1416 </para> 1417 </listitem> 1418 <listitem> 1419 <para> 1420 Estimated build time: &pyrex-time; 1421 </para> 1422 </listitem> 1423 </itemizedlist> 1424 1425 <bridgehead renderas="sect4">Pyrex Dependencies</bridgehead> 1426 1427 <bridgehead renderas="sect5">Required</bridgehead> 1428 <para role="required"> 1429 <xref linkend="python2"/> 1430 </para> 1431 1432 <para condition="html" role="usernotes"> 1433 User Notes: <ulink url="&blfs-wiki;/pyrex"/> 1434 </para> 1435 </sect3> 1436 1437 <sect3 role="installation"> 1438 <title>Installation of Pyrex</title> 1439 1440 <para> 1441 Install <application>pyrex</application> by running the following 1442 commands as the <systemitem class="username">root</systemitem> user: 1443 </para> 1444 1445 <screen role="root"><userinput>python setup.py install</userinput></screen> 1446 1447 </sect3> 1448 1449 <sect3 role="content"> 1450 <title>Contents</title> 1451 1452 <segmentedlist> 1453 <segtitle>Installed Program</segtitle> 1454 <segtitle>Installed Libraries</segtitle> 1455 <segtitle>Installed Directory</segtitle> 1456 1457 <seglistitem> 1458 <seg> 1459 pyrexc 1460 </seg> 1461 <seg> 1462 None 1463 </seg> 1464 <seg> 1465 /usr/lib/python&python2-majorver;/site-packages/Pyrex 1466 </seg> 1467 </seglistitem> 1468 </segmentedlist> 1469 1470 </sect3> 1471 1472 </sect2> 1473 <!-- End Pyrex --> 1474 1475 <!-- Begin PyXDG --> 1476 <sect2 id="pyxdg" xreflabel="PyXDG-&pyxdg-version;"> 1477 1478 <title>PyXDG-&pyxdg-version;</title> 1479 1480 <indexterm zone="pyxdg"> 1481 <primary sortas="a-PyXDG">PyXDG</primary> 1482 </indexterm> 1483 1484 <sect3 role="package"> 1485 <title>Introduction to PyXDG Module</title> 1486 1487 <para> 1488 <application>PyXDG</application> is a <application>Python</application> 1489 library to access freedesktop.org standards. 1490 </para> 1491 1492 &lfs73_checked; 1493 1494 <bridgehead renderas="sect4">Package Information</bridgehead> 1495 <itemizedlist spacing="compact"> 1496 <listitem> 1497 <para> 1498 Download (HTTP): <ulink url="&pyxdg-download-http;"/> 1499 </para> 1500 </listitem> 1501 <listitem> 1502 <para> 1503 Download (FTP): <ulink url="&pyxdg-download-ftp;"/> 1504 </para> 1505 </listitem> 1506 <listitem> 1507 <para> 1508 Download MD5 sum: &pyxdg-md5sum; 1509 </para> 1510 </listitem> 1511 <listitem> 1512 <para> 1513 Download size: &pyxdg-size; 1514 </para> 1515 </listitem> 1516 <listitem> 1517 <para> 1518 Estimated disk space required: &pyxdg-buildsize; 1519 </para> 1520 </listitem> 1521 <listitem> 1522 <para> 1523 Estimated build time: &pyxdg-time; 1524 </para> 1525 </listitem> 1526 </itemizedlist> 1527 1528 <bridgehead renderas="sect4">PyXDG Dependencies</bridgehead> 1529 1530 <bridgehead renderas="sect5">Required</bridgehead> 1531 <para role="required"> 1532 <xref linkend="python2"/> and/or 1533 <xref linkend="python3"/> 1534 </para> 1535 1536 <para condition="html" role="usernotes"> 1537 User Notes: <ulink url="&blfs-wiki;/pyxdg"/> 1538 </para> 1539 </sect3> 1540 1541 <sect3 role="installation"> 1542 <title>Installation of PyXDG</title> 1543 1544 <note> 1545 <para> 1546 Both <application>Python 2</application> and 1547 <application>Python 3</application> modules can 1548 be built and installed without any conflicts. 1549 </para> 1550 </note> 1551 1552 <para> 1553 To install the <application>Python 2</application> module, 1554 run the following command as the 1555 <systemitem class="username">root</systemitem> user: 1556 </para> 1557 1558 <screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen> 1559 1560 <para> 1561 To install the <application>Python 3</application> module, 1562 run the following command as the 1563 <systemitem class="username">root</systemitem> user: 1564 </para> 1565 1566 <screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen> 1567 1568 </sect3> 1569 1570 <sect3 role="content"> 1571 <title>Contents</title> 1572 1573 <segmentedlist> 1574 <segtitle>Installed Directory</segtitle> 1575 1576 <seglistitem> 1577 <seg> 1578 /usr/lib/python&python2-majorver;/site-packages/xdg and/or 1579 /usr/lib/python&python3-majorver;/site-packages/xdg 1580 </seg> 1581 </seglistitem> 1582 </segmentedlist> 1583 1584 </sect3> 1585 1586 </sect2> 1587 <!--End PyXDG --> 114 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 115 href="pyxdg.xml"/> 1588 116 1589 117 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.