1 Libvirt Python Binding README
2 =============================
4 This package provides a python binding to the libvirt.so,
5 libvirt-qemu.so and libvirt-lxc.so library APIs.
7 It is written to build against any version of libvirt that
10 This code is distributed under the terms of the LGPL version
13 The module can be built by following the normal python module
17 sudo python setup.py install
19 or to install as non-root
22 python setup.py install --user
24 If python-nose is installed, you can test the package with
28 A makefile shim is provided so that you can do
32 rather than directly invoking setup.py.
34 As of libvirt 1.2.6, it is possible to develop against an uninstalled
35 libvirt.git checkout, by setting PKG_CONFIG_PATH and LD_LIBRARY_PATH
36 environment variables to point into that libvirt tree; you can even
37 automate this by using libvirt's run script:
39 /path/to/libvirt/run python setup.py build
41 Patches for this code should be sent to the main libvirt
42 development mailing list
44 http://libvirt.org/contact.html#email
46 To send patches, it is strongly recommended to use the
47 'git send-email' command.
49 Make sure the mails mention that the patch is for the python
50 binding. This can be done by setting a config parameter in the
53 git config format.subjectprefix "PATCH python"