1
0
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
Go to file
Michal Privoznik 1598bd7dd5 Bump version to 1.2.12 for new dev cycle
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2014-12-16 14:09:25 +01:00
examples fix examples 2014-12-01 17:34:31 +01:00
tests Add test for setting scheduler parameters 2014-03-19 15:16:15 +00:00
.ctags maint: Add ctags configuration file and ignore the output 2014-03-24 19:15:02 +01:00
.dir-locals.el maint: set up preferred emacs settings 2014-03-24 11:04:15 -06:00
.gitignore maint: Add ctags configuration file and ignore the output 2014-03-24 19:15:02 +01:00
AUTHORS.in Setup distutils build system 2013-11-22 15:58:06 +00:00
autobuild.sh Add python3 to the automated build and RPM 2013-12-12 11:26:11 +00:00
COPYING Setup distutils build system 2013-11-22 15:58:06 +00:00
COPYING.LESSER Setup distutils build system 2013-11-22 15:58:06 +00:00
generator.py Add c_pointer method to classes. 2014-12-11 11:21:36 +00:00
HACKING Update README file contents and add HACKING file 2013-11-26 11:44:19 +00:00
libvirt-lxc-override-api.xml Introduce an LXC specific public API & library 2013-01-14 13:58:34 +00:00
libvirt-lxc-override.c Fix rest of unsigned integer handling 2014-10-22 09:43:47 +02:00
libvirt-override-api.xml override: Implement bindings for virDomainGetFSInfo as domain.fsInfo 2014-11-24 17:30:49 +01:00
libvirt-override-virConnect.py event: Add bindings for agent lifecycle event 2014-11-24 17:53:12 +01:00
libvirt-override-virDomain.py Add dict check for setTime and allow pass 'seconds' parameter 2014-11-11 15:58:12 +01:00
libvirt-override-virDomainSnapshot.py python: treat flags as default argument with value 0 2013-03-22 11:50:09 +08:00
libvirt-override-virStoragePool.py python: treat flags as default argument with value 0 2013-03-22 11:50:09 +08:00
libvirt-override-virStream.py Fix stream related spelling mistakes 2014-02-13 11:17:29 +01:00
libvirt-override.c override: iterate virDomainFSInfo.devAliases using ndevAliases 2014-12-02 09:13:57 +01:00
libvirt-override.py override: Fix exception handling syntax 2013-12-09 08:49:56 -06:00
libvirt-python.spec.in spec: Reorganize to satisfy buggy spectool 2014-07-29 16:24:48 +02:00
libvirt-qemu-override-api.xml agent: add python module support 2012-08-23 19:07:53 +08:00
libvirt-qemu-override.c Fix rest of unsigned integer handling 2014-10-22 09:43:47 +02:00
libvirt-qemu-override.py qemu: support arbitrary monitor events 2014-03-25 09:12:22 -06:00
libvirt-utils.c Import some virTypedParams* APIs from libvirt 2013-11-22 15:58:06 +00:00
libvirt-utils.h Add space after comma for consistency with code style 2014-01-02 09:52:13 -06:00
Makefile build: provide wrapper makefile 2014-06-18 13:19:30 -06:00
MANIFEST.in Setup distutils build system 2013-11-22 15:58:06 +00:00
NEWS Setup distutils build system 2013-11-22 15:58:06 +00:00
README maint: document use of libvirt's run script 2014-08-04 11:09:34 -06:00
sanitytest.py Add c_pointer method to classes. 2014-12-11 11:21:36 +00:00
setup.py Bump version to 1.2.12 for new dev cycle 2014-12-16 14:09:25 +01:00
typewrappers.c Fix libvirt_longlongWrap returning a very large value 2014-08-11 16:28:26 +02:00
typewrappers.h override: Switch virStreamSend wrapper to use libvirt_charPtrSizeUnwrap 2013-12-11 16:14:46 +00:00

     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

If python-nose is installed, you can test the package with

  python setup.py test

A makefile shim is provided so that you can do

  make && make check

rather than directly invoking setup.py.

As of libvirt 1.2.6, it is possible to develop against an uninstalled
libvirt.git checkout, by setting PKG_CONFIG_PATH and LD_LIBRARY_PATH
environment variables to point into that libvirt tree; you can even
automate this by using libvirt's run script:

  /path/to/libvirt/run python setup.py build

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"