%general-entities; ]> $LastChangedBy$ $Date$ Python Modules Python modules Introduction to Python Modules The Python module packages add useful objects to the Python language. Modules utilized by packages throughout BLFS are listed here, along with their dependencies. Installation of the modules shown on this page is meant to follow from top to bottom to handle optional dependencies in each module. Notify Python-¬ify-python-version; notify-python Introduction to Notify Python Module Notify Python provides Python 2 bindings to the libnotify. &lfs72_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: ¬ify-python-md5sum; Download size: ¬ify-python-size; Estimated disk space required: ¬ify-python-buildsize; Estimated build time: ¬ify-python-time; Additional Downloads Required patch: Notify Python Dependencies Required and (with support). User Notes: Installation of Notify Python Install Notify Python by running the following commands: patch -Np1 -i ../notify-python-¬ify-python-version;-libnotify-0.7-1.patch && ./configure --prefix=/usr && make This package does not come with a testsuite. Now, as the root user: make install Contents Installed Programs Installed Libraries Installed Directory None None /usr/lib/python&python2-majorver;/site-packages/gtk-2.0/pynotify Py2cairo-&py2cairo-version; Py2cairo Introduction to Py2cairo Module Py2cairo provides Python 2 bindings to Cairo. &lfs73_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &py2cairo-md5sum; Download size: &py2cairo-size; Estimated disk space required: &py2cairo-buildsize; Estimated build time: &py2cairo-time; Py2cairo Dependencies Required and Optional pytest User Notes: Installation of Py2cairo Install Py2cairo by running the following commands: ./waf configure --prefix=/usr && ./waf build The test suite must be run after the package is installed. Now, as the root user: ./waf install The test suite requires the optional pytest package. If installed, it is run by changing to the test directory and running py.test an an unprivileged user. Contents Installed Programs Installed Library Installed Directory None _cairo.so /usr/include/pycairo and /usr/lib/python&python2-majorver;/site-packages/cairo PyGObject-&pygobject2-version; PyGObject Introduction to PyGObject Module PyGObject-&pygobject2-version; provides Python 2 bindings to the GObject class from GLib. &lfs73_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &pygobject2-md5sum; Download size: &pygobject2-size; Estimated disk space required: &pygobject2-buildsize; Estimated build time: &pygobject2-time; Additional Downloads Required patch (if you have installed ): PyGObject Dependencies Required and Optional (to Build Documentation) User Notes: Installation of PyGObject Install PyGObject by running the following commands: patch -p1 < ../pygobject-&pygobject2-version;-introspection-1.patch && ./configure --prefix=/usr && make This package does not have a working testsuite. Now, as the root user: make install Command Explanations : This option disables the rebuilding of the html documentation if is installed. Contents Installed Programs Installed Libraries Installed Directories pygobject-codegen-2.0 libpyglib-2.0-python.so, _gio.so, unix.so, _glib.so and _gobject.so. /usr/include/pygtk-2.0, /usr/lib/python&python2-majorver;/site-packages/gtk-2.0/{gio,glib,gobject}, /usr/share/gtk-doc/html/pygobject and /usr/share/pygobject/2.0 PyGObject-&pygobject3-version; PyGObject Introduction to PyGObject Module PyGObject-&pygobject3-version; provides Python 2 bindings to the GObject class from GLib. &lfs72_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &pygobject3-md5sum; Download size: &pygobject3-size; Estimated disk space required: &pygobject3-buildsize; Estimated build time: &pygobject3-time; PyGObject Dependencies Required and Optional (to Build Documentation) User Notes: Installation of PyGObject Install PyGObject by running the following commands: ./configure --prefix=/usr && make To test the results, issue: make check. Now, as the root user: make install Command Explanations --disable-docs: This option disables the rebuilding of the html documentation if is installed. Contents Installed Programs Installed Library Installed Directories None libpyglib-gi-2.0-python.so /usr/include/pygobject-3.0 and /usr/lib/python&python2-majorver;/site-packages/gi PyGTK-&pygtk-version; PyGTK Introduction to PyGTK Module PyGTK lets you to easily create programs with a graphical user interface using the Python programming language. &lfs73_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &pygtk-md5sum; Download size: &pygtk-size; Estimated disk space required: &pygtk-buildsize; Estimated build time: &pygtk-time; PyGTK Dependencies Required Required (atk module) Required (pango module) Required (pangocairo module) and Required (gtk and gtk.unixprint modules) and . Required (gtk.libglade module) and . Optional NumPy Optional (to Build Documentation) User Notes: Installation of PyGTK Install PyGTK by running the following commands: ./configure --prefix=/usr && make The tests must be run from an active X display. If this is so, issue: make check. Now, as the root user: make install Command Explanations --enable-docs: This option enables rebuilding the html documentation if is installed. Contents Installed Programs Installed Libraries Installed Directories pygtk-codegen-2.0 and pygtk-demo. atk.so, _gtk.so, glade.so, gtkunixprint.so, pango.so and pangocairo.so. /usr/include/pygtk-2.0, /usr/lib/pygtk, /usr/lib/python&python2-majorver;/site-packages/gtk-2.0, /usr/share/gtk-doc/html/pygtk and /usr/share/pygtk. Short Descriptions pygtk-codegen-2.0 is a wrapper script to run the PyGTK codegen module. pygtk-codegen-2.0 pygtk-demo is a Python wrapper to run the PyGTK demo program. pygtk-demo pyatspi2-&pyatspi2-version; pyatspi2 Introduction to pyatspi2 The pyatspi2 package contains Python2 bindings for the core components of GNOME Accessibility. &lfs72_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &pyatspi2-md5sum; Download size: &pyatspi2-size; Estimated disk space required: &pyatspi2-buildsize; Estimated build time: &pyatspi2-time; pyatspi2 Dependencies Required Recommended User Notes: Installation of pyatspi2 Install pyatspi2 by running the following commands: ./configure --prefix=/usr && make This package does not come with a testsuite. Now, as the root user: make install Contents Installed Programs Installed Libraries Installed Directory None None /usr/lib/python&python2-majorver;/site-packages/pyatspi Pyrex-&pyrex-version; pyrex Introduction to Pyrex Module Pyrex is language used for writing Python extension modules. &lfs72_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &pyrex-md5sum; Download size: &pyrex-size; Estimated disk space required: &pyrex-buildsize; Estimated build time: &pyrex-time; Pyrex Dependencies Required User Notes: Installation of Pyrex Install pyrex by running the following commands as the root user: python setup.py install Command Explanations python setup.py install: This command installs the package. There are other options available, see python setup.py --help-commands for details. Contents Installed Program Installed Libraries Installed Directory pyrexc None /usr/lib/python&python2-majorver;/site-packages/Pyrex