3
Currently you need D-Bus from CVS HEAD, for new features and bug fixes to the
4
Python bindings. These patches should be included in version 0.51, and
5
snapshots and .debs for Ubuntu Breezy are available here:
6
http://telepathy.freedesktop.org/dbus
10
Type 'make' in the doc/ directory to generate a spec.html with the latest
11
version of the D-Bus interface specification, from the base classes in
3
telepathy-python requires dbus-python version >= 0.71; version >= 0.80 is
6
Using an uninstalled version
7
----------------------------
8
Because telepathy-python contains generated code, the src directory
9
is incomplete. To run this version of telepathy-python without installing it,
10
you'll have to run ``python setup.py build`` and arrange for build/lib to be
11
on your ``sys.path``, for instance:
14
PYTHONPATH=$PWD/build/lib python examples/call.py a.account b@example.com
16
(See ``examples/README`` for details of the .account files used by the
14
19
Server Base Classes
15
20
-------------------
16
telepathy/server/ implements base classes and mixins for implementing all of
21
telepathy.server implements base classes and mixins for implementing all of
17
22
the D-Bus interfaces in Telepathy. Many methods are abstract and they are
18
23
intended to be overridden in mixins for the concrete implementations, but some
19
24
perform housekeeping for you and maintain structures with some of the state
20
25
necessary to answer Get* calls. The API for implementing managers needs some
25
swiss.py is the pyxmpp-based connection manager. Currently, you should copy
26
swiss.manager into ~/.telepathy/ so the client can discover it, but it needs to
31
The client lib in telepathy/client/ has some base classes to help with
32
implementing a client in python. For examples, see ./test-client.py and
33
./scw-client.py, both of which will read .manager files from ~/.telepathy/ and
34
start a connection for you. The latter, scw-client, has a simple UI to show
35
your subscribe list and allow text messages to your contacts.
30
The client lib in telepathy.client has some base classes to help with
31
implementing a client in python.