If you are looking for the excellent Google gflags python module as an Ubuntu package, look no farther. It is available from my PPA: https://launchpad.net/~compbrain/+archive/ppa
A quick how-to install is included below.
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E5C2D9CD $ sudo sh -c 'echo "deb http://ppa.launchpad.net/compbrain/ppa/ubuntu jaunty main" > /etc/apt/sources.list.d/compbrainppa.list' $ sudo apt-get update && sudo apt-get install python-gflags
Update:
As of January 4, 2010 Google has hosted their own python package for the gflags module. You can find it on Google Code here.