1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2024-10-26 07:55:06 +03:00
Python language binding for libvirt native C API
Go to file
Daniel P. Berrange 41562e063e Setup distutils build system
Create a setup.py for building libvirt python code and add
supporting files

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2013-11-22 15:58:06 +00:00
examples Remove obsolete Makefile.am 2013-11-22 15:58:05 +00:00
.gitignore Setup distutils build system 2013-11-22 15:58:06 +00:00
AUTHORS.in Setup distutils build system 2013-11-22 15:58:06 +00:00
autobuild.sh Setup distutils build system 2013-11-22 15:58:06 +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 Update generator for new code layout 2013-11-22 15:58:05 +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 Import VIR_ALLOC / VIR_ALLOC_N / VIR_REALLOC_N functions 2013-11-22 15:58:06 +00:00
libvirt-override-api.xml python: Document virNodeGetInfo bug 2013-09-30 11:42:52 +02:00
libvirt-override-virConnect.py Test for object identity when checking for None in Python 2013-08-23 08:12:26 +02:00
libvirt-override-virDomain.py Introduce new domain create APIs to pass pre-opened FDs to LXC 2013-07-18 11:01:14 +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 Test for object identity when checking for None in Python 2013-08-23 08:12:26 +02:00
libvirt-override.c Remove use of virStrcpyStatic 2013-11-22 15:58:06 +00:00
libvirt-override.py python: remove virConnectGetCPUModelNames from globals 2013-11-21 08:47:08 -06:00
libvirt-python.spec.in Setup distutils build system 2013-11-22 15:58:06 +00:00
libvirt-qemu-override-api.xml agent: add python module support 2012-08-23 19:07:53 +08:00
libvirt-qemu-override.c Import VIR_ALLOC / VIR_ALLOC_N / VIR_REALLOC_N functions 2013-11-22 15:58:06 +00:00
libvirt-utils.c Import some virTypedParams* APIs from libvirt 2013-11-22 15:58:06 +00:00
libvirt-utils.h Import some virTypedParams* APIs from libvirt 2013-11-22 15:58:06 +00: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 Re-arrange python generator to make it clear what's auto-generated 2009-09-21 14:41:46 +01:00
sanitytest.py Add execute permission for sanitytest.py 2013-11-22 15:58:06 +00:00
setup.py Setup distutils build system 2013-11-22 15:58:06 +00:00
typewrappers.c Import VIR_ALLOC / VIR_ALLOC_N / VIR_REALLOC_N functions 2013-11-22 15:58:06 +00:00
typewrappers.h syntax-check: Only allows to include public headers in external tools 2013-04-18 11:31:19 +08:00

    libvirt Python Bindings README
    ==============================

Most of the libvirt python binding code is automatically generated
using the script  generator.py, and the API description from
docs/libvirt-api.xml


Manually written files:

 - libvirt-override.c: methods where the C binding needs to be hand crafted
 - libvirt-override.py: global methods where the C and python bindings have different args
 - libvirt-override-api.xml: methods where the auto-extracted API docs are not
   suitable for python auto-generator. Overriding this if the method is going
   into libvirt-override.c, but we still want auto-generated libvirt-override.py
 - libvirt-override-virConnect.py: virConnect class methods
 - typewrappers.h,.c: Python object wrappers for each libvirt C object


Auto-generated files:

  - libvirt.py: The main python binding. Comprises auto-generated code, along
    with contents from libvirt-override.py and libvirt-override-virConnect.py
  - libvirt.c, libvirt.h: The C glue layer for the python binding. Comprises
    auto-generated code, along with libvirt-override.c
  - libvirt-export.c: List of auto-generated C methods, included into
    the libvirt-override.c method table