[packagekit] Python python api gui example.
Tim Lauridsen
tim.lauridsen at googlemail.com
Thu Oct 2 06:32:32 PDT 2008
I have made a little GUI in python showing how to work with python API and
show the yum comps groups from the yum backend.
How to test (with yum backend):
cd to your pk git checkout:
git checkout --track -b dynamic-groups origin/dynamic-groups
mkdir $HOME/root
./configure --prefix=$HOME/root --enable-yum --with-default-backend=yum
make
make install
mkdir -r $HOME/root/var/log
ln -s $HOME//root/lib/python2.5/site-packages/packagekit
/$HOME/root/share/PackageKit/helpers/yum/.
cd src
sudo ./run-pk.sh yum
Open new console window or tab. (cd to pk git checkout)
cd python/shopper
./shopper.py
Tim
More information about the PackageKit
mailing list