PYTHON bindings for DCOP
========================

There are two big things:

The DCOP module which is written in Python.
It calls the PCOP module which allows us to
invoke DCOP Calls.

Users use the DCOP module.

The coders (we) implement the PCOP module in C/C++.


BUILDING
========

Copy your Makefile.pre.in from /usr/lib/python/config
or the like in here.

Call

make -f Makefile.pre.in boot

In the generated makefile edit the lines

MODOBJS=	  pcop.o
LOCALMODLIBS=  -L$(QTDIR)/lib -L$(KDEDIR)/lib -L/usr/X11/lib -lDCOP -lqt -lX11 -lXext -lICE

to look like this. In addition you may want to use g++ instead of gcc.

make static

SHELL
=====

PCOP is not really a loadable module. Instead we build an entire
new shell. The reason is simply that a compiler bug does not
allow us to dlopen Qt at runtime.

RUN
===

export PYTHONPATH=/home/XXXX/kde/kdenonbeta/python/lib
cd kdenonbeta/python/test
../shell/python test.py

Torben Weis
weis@kde.org
