[libvirt] libvirt and python3

Michal Privoznik mprivozn at redhat.com
Fri Jul 19 05:26:09 UTC 2013


On 19.07.2013 04:04, Doug Goldstein wrote:
> On Thu, Jul 18, 2013 at 1:13 PM, Dave Allan <dallan at redhat.com> wrote:
>> I've seen a bunch of interest in python3 [1,2,3].  Has anybody started
>> thinking about python3 bindings for libvirt?
>>
> 
> While not really answering your question, I would like to see the
> build system a little more flexible with regards to Python binding
> generation. Currently you have to configure libvirt and it will
> generate bindings for the python it detects (or is supplied) and if
> you want to change that you need to rebuild the entire source tree.
> It'd be nice in the future to be able to build against multiple
> Python's without having to reconfigure and rebuild.

That's because python bindings need the client implementation. But I
agree that it would be nice if one could just:

make -C python

to build the bindings.

To answer Dave's question, I'm not really into python but isn't 2to3 enough?

Michal




More information about the libvir-list mailing list