[libvirt] [libvirt-glib][PATCH 1/2] configure: Detect python in compatible fashion

Daniel P. Berrange berrange at redhat.com
Mon Aug 1 10:07:49 UTC 2016

On Mon, Aug 01, 2016 at 11:47:42AM +0200, Michal Privoznik wrote:
> In the configure script we try to detect what version of python
> is there currently installed on the system. We use `python -c
> "some cmd"` to find out. However, the syntax we use for "some
> cmd" is plainly just for 2.x and throws an error for 3.x.
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  configure.ac | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

IMHO we should just delete the python binding instead.

It only ever supported 1 symbol - the gvir_event_register() method.

GObject introspection support in PyGObject has existed for more than
long enough at this point, that a manual binding is a waste of time.

|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

More information about the libvir-list mailing list