On Mon, Sep 14, 2015 at 09:45:16PM +0000, John McDowall wrote:
Richard,
I put an #ifdef around the logic in py_guestfs_mount_9p and py_guestfs_list_9p, I.e. Left the signatures but the functions just return a a NULL PyObject. It now builds and installs with pip. Thanks for all your help most appreciated.
Is there a better way to do this?, #ifdefs always seem a little hacky.
Actually I was wondering why the python-libguestfs package from RHEL doesn't work for you. I don't use Python much myself, but is there some benefit to using PIP? In answer to your question, yes the #ifdefs are hacky. We need to fix the bug I mentioned before properly. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html