%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. PyXML-&pyxml-version; PyXML The PyXML package contains a validating XML parser, an implementation of the SAX and DOM programming interfaces, an interface to the Expat parser, and a C helper module that can speed up xmllib.py by a factor of five. This is useful for validating, parsing and manipulating XML files using Python programs. Package Information Download (HTTP): Download (FTP): Download MD5 sum: &pyxml-md5sum; Download size: &pyxml-size; Estimated disk space required: &pyxml-buildsize; Estimated build time: &pyxml-time; PyXML Dependencies Required User Notes: Installation of PyXML Install PyXML by running the following commands: python setup.py build Now, as the root user: python setup.py install && install -v -m644 doc/man/xmlproc_*.1 /usr/share/man/man1 && install -v -m755 -d /usr/share/doc/PyXML-&pyxml-version; && cp -v -R doc demo test /usr/share/doc/PyXML-&pyxml-version; && install -v -m644 README* /usr/share/doc/PyXML-&pyxml-version; To run the regression tests, the package must first be installed. Then, as an unprivileged user, issue the following commands: cd test && python regrtest.py && cd .. Command Explanations python setup.py build: This command copies the *.py files to a staging area and compiles the C extensions. python setup.py install: This command installs the package. Contents Installed Programs Installed Libraries Installed Directories xmlproc_parse and xmlproc_val PyXML Python library modules /usr/lib/python&python-majorver;/site-packages/_xmlplus and /usr/share/doc/PyXML-&pyxml-version; Short Descriptions xmlproc_parse is a simple XML file parser using the xmlproc parser. xmlproc_parse xmlproc_val is a validating XML file parser using the xmlproc parser. xmlproc_val Pycairo-&pycairo-version; Pycairo Pycairo provides Python bindings to Cairo. Package Information Download (HTTP): Download (FTP): Download MD5 sum: &pycairo-md5sum; Download size: &pycairo-size; Estimated disk space required: &pycairo-buildsize; Estimated build time: &pycairo-time; Pycairo Dependencies Required and User Notes: Installation of Pycairo Install Pycairo by running the following commands: ./configure --prefix=/usr && make Now, as the root user: make install To run the regression tests, the package must first be installed. Then, as an unprivileged user, issue the following commands: (cd test && python test.py) Contents Installed Programs Installed Libraries Installed Directories None Pycairo Python library module /usr/include/pycairo and /usr/lib/python&python-majorver;/site-packages/cairo PyGObject-&pygobject-version; PyGObject PyGObject provides Python bindings to the GObject class from GLib. Package Information Download (HTTP): Download (FTP): Download MD5 sum: &pygobject-md5sum; Download size: &pygobject-size; Estimated disk space required: &pygobject-buildsize; Estimated build time: &pygobject-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 Libraries Installed Directories None PyGObject Python library module /usr/include/pygtk-2.0, /usr/share/pygobject and /usr/lib/python&python-majorver;/site-packages/gtk-2.0 PyGTK-&pygtk-version; PyGTK PyGTK lets you to easily create programs with a graphical user interface using the Python programming language. 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 Numeric (version 24.2) 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 PyGTK Python library modules /usr/lib/pygtk, /usr/share/pygtk and /usr/lib/python&python-majorver;/site-packages/gtk-2.0 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 PyORBit-&pyorbit-version; PyORBit This is a Python language binding for the ORBit2 CORBA implementation. Package Information Download (HTTP): Download (FTP): Download MD5 sum: &pyorbit-md5sum; Download size: &pyorbit-size; Estimated disk space required: &pyorbit-buildsize; Estimated build time: &pyorbit-time; PyORBit Dependencies Required and User Notes: Installation of PyORBit Install PyORBit by running the following commands: ./configure --prefix=/usr && make This package does not come with a test suite. Now, as the root user: make install Contents Installed Programs Installed Libraries Installed Directories None PyORBit Python library module /usr/include/pyorbit-2 Gnome-Python-&gnome-python-version; Gnome-Python Gnome-Python provides Python modules for various GNOME libraries. Package Information Download (HTTP): Download (FTP): Download MD5 sum: &gnome-python-md5sum; Download size: &gnome-python-size; Estimated disk space required: &gnome-python-buildsize; Estimated build time: &gnome-python-time; Gnome-Python Dependencies Required and Required (gnome.ui module) and Required (gnome.canvas module) Required (gnomevfs module bonobo support) Required (bonobo.ui module) User Notes: Installation of Gnome-Python Install Gnome-Python by running the following commands: ./configure --prefix=/usr && make This package does not come with a test suite. Now, as the root user: make install Contents Installed Programs Installed Libraries Installed Directories None Gnome-Python library modules /usr/include/gnome-python-2.0 Gnome-Python-Desktop-&gnome-python-desktop-version; Gnome-Python-Desktop Gnome-Python-Desktop provides additional Python modules for GNOME libraries. Package Information Download (HTTP): Download (FTP): Download MD5 sum: &gnome-python-desktop-md5sum; Download size: &gnome-python-desktop-size; Estimated disk space required: &gnome-python-desktop-buildsize; Estimated build time: &gnome-python-desktop-time; Gnome-Python-Desktop Dependencies Required Required (gnomeapplet module) Required (gnomeprint module) Required (gnomeprint.ui module) Required (gtksourceview module) Required (wnck module) Required (totem.plparser module) Required (gtop module) Required (nautilusburn module) Required (mediaprofiles module) Required (rsvg module) Required (metacity module) Required (gnomekeyring module) Required (gnomedesktop module) Required (bugbuddy module) User Notes: Installation of Gnome-Python-Desktop Install Gnome-Python-Desktop by running the following commands: ./configure --prefix=/usr && make This package does not come with a test suite. Now, as the root user: make install Command Explanations --enable-metacity: This option enables building the metacity module if is installed. Contents Installed Programs Installed Libraries Installed Directories None Gnome-Python-Desktop library modules None