mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2024-10-26 16:25:10 +03:00
Python language binding for libvirt native C API
590f338b23
When reading/writing a global variable from inside a method it must be declared as a global, otherwise a local variable by the same name will be used. Special case the virConnectListDomainsID method which is bizarrely renamed for no obvious reason. Signed-off-by: Daniel P. Berrange <berrange@redhat.com> |
||
---|---|---|
examples | ||
.gitignore | ||
AUTHORS.in | ||
autobuild.sh | ||
COPYING | ||
COPYING.LESSER | ||
generator.py | ||
HACKING | ||
libvirt-lxc-override-api.xml | ||
libvirt-lxc-override.c | ||
libvirt-override-api.xml | ||
libvirt-override-virConnect.py | ||
libvirt-override-virDomain.py | ||
libvirt-override-virDomainSnapshot.py | ||
libvirt-override-virStoragePool.py | ||
libvirt-override-virStream.py | ||
libvirt-override.c | ||
libvirt-override.py | ||
libvirt-python.spec.in | ||
libvirt-qemu-override-api.xml | ||
libvirt-qemu-override.c | ||
libvirt-utils.c | ||
libvirt-utils.h | ||
MANIFEST.in | ||
NEWS | ||
README | ||
sanitytest.py | ||
setup.py | ||
typewrappers.c | ||
typewrappers.h |
Libvirt Python Binding README ============================= This package provides a python binding to the libvirt.so, libvirt-qemu.so and libvirt-lxc.so library APIs. It is written to build against any version of libvirt that is 0.9.11 or newer. This code is distributed under the terms of the LGPL version 2 or later. The module can be built by following the normal python module build process python setup.py build sudo python setup.py install or to install as non-root python setup.py build python setup.py install --user Patches for this code should be sent to the main libvirt development mailing list http://libvirt.org/contact.html#email To send patches, it is strongly recommended to use the 'git send-email' command. Make sure the mails mention that the patch is for the python binding. This can be done by setting a config parameter in the local git checkout git config format.subjectprefix "PATCH python"