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.
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.
Download (HTTP): http://downloads.sourceforge.net/pyxml/PyXML-0.8.4.tar.gz
Download (FTP): ftp://ftp.linux.ee/pub/gentoo/distfiles/distfiles/PyXML-0.8.4.tar.gz
Download MD5 sum: 1f7655050cebbb664db976405fdba209
Download size: 734 KB
Estimated disk space required: 14.6 MB
Estimated build time: less than 0.1 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/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-0.8.4 && cp -v -R doc demo test /usr/share/doc/PyXML-0.8.4 && install -v -m644 README* /usr/share/doc/PyXML-0.8.4
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 ..
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.
Pycairo provides Python bindings to Cairo.
Download (HTTP): http://cairographics.org/releases/pycairo-1.4.0.tar.gz
Download MD5 sum: e26e77919b606113f565d70036c1f504
Download size: 468 KB
Estimated disk space required: 5.2 MB
Estimated build time: 0.1 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/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)
PyGObject provides Python bindings to the GObject class from GLib.
Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/pygobject/2.12/pygobject-2.12.3.tar.bz2
Download (FTP): ftp://ftp.gnome.org/pub/gnome/sources/pygobject/2.12/pygobject-2.12.3.tar.bz2
Download MD5 sum: 009986021225b7ea6e0ba848707785af
Download size: 331 KB
Estimated disk space required: 5.2
Estimated build time: 0.1 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/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
--disable-docs
: This option
disables the rebuilding of the html documentation if libxslt-1.1.22 is installed.
PyGTK lets you to easily create programs with a graphical user interface using the Python programming language.
Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/pygtk/2.10/pygtk-2.10.6.tar.bz2
Download (FTP): ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.10/pygtk-2.10.6.tar.bz2
Download MD5 sum: f051e25adcbdc1ddcf736fadad3d66f2
Download size: 1.9 MB
Estimated disk space required: 5.2 MB
Estimated build time: 0.7 SBU
Pycairo-1.4.0 and Pango-1.16.4
Pycairo-1.4.0 and GTK+-2.10.13
Pycairo-1.4.0 and libglade-2.6.1
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/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
--enable-docs
: This option
enables rebuilding the html documentation if libxslt-1.1.22 is
installed.
This is a Python language binding for the ORBit2 CORBA implementation.
Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/pyorbit/2.14/pyorbit-2.14.3.tar.bz2
Download (FTP): ftp://ftp.gnome.org/pub/gnome/sources/pyorbit/2.14/pyorbit-2.14.3.tar.bz2
Download MD5 sum: 3c4d42ae1a7303fd85071a842617043f
Download size: 0.3 MB
Estimated disk space required: 5.3 MB
Estimated build time: 0.1 SBU
Python-2.5.2 and ORBit2-2.14.7
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/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
Gnome-Python provides Python modules for various GNOME libraries.
Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/gnome-python/2.18/gnome-python-2.18.2.tar.bz2
Download (FTP): ftp://ftp.gnome.org/pub/gnome/sources/gnome-python/2.18/gnome-python-2.18.2.tar.bz2
Download MD5 sum: 3df58e4354526d4e0be8524c0bf6ddb8
Download size: 0.4 MB
Estimated disk space required: 5.4 MB
Estimated build time: 0.3 SBU
PyGTK-2.10.6 and libgnome-2.18.0
PyORBit-2.14.3 and libgnomeui-2.18.1
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/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
Gnome-Python-Desktop provides additional Python modules for GNOME libraries.
Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/gnome-python-desktop/2.18/gnome-python-desktop-2.18.0.tar.bz2
Download (FTP): ftp://ftp.gnome.org/pub/gnome/sources/gnome-python-desktop/2.18/gnome-python-desktop-2.18.0.tar.bz2
Download MD5 sum: ce1b1c095a69c2656177570a2939fabb
Download size: 0.4 MB
Estimated disk space required: 5.5 MB
Estimated build time: 0.2 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/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
--enable-metacity
: This
option enables building the metacity module if Metacity-2.18.5 is installed.
Last updated on 2008-03-17 13:11:35 -0500