[libvirt] [python PATCH] maint: document development against uninstalled libvirt

Eric Blake eblake at redhat.com
Wed Jun 25 16:53:58 UTC 2014


Thanks to Dan's recent work in libvirt.git, it is much easier to
develop against uninstalled libvirt.  Mention how.

* README: More details.

Signed-off-by: Eric Blake <eblake at redhat.com>
---
 README | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/README b/README
index ad50828..df1de59 100644
--- a/README
+++ b/README
@@ -21,6 +21,21 @@ 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 some environment variables:
+
+  export PKG_CONFIG_PATH=/path/to/libvirt/git/src/
+  export LD_LIBRARY_PATH=/path/to/libvirt/git/src/.libs/

 Patches for this code should be sent to the main libvirt
 development mailing list
-- 
1.9.3




More information about the libvir-list mailing list