summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2014-06-25 10:52:53 -0600
committerEric Blake <eblake@redhat.com>2014-06-25 10:52:53 -0600
commit724df7f11b515507dce0f91dfa5b2e37db21d3c0 (patch)
treec5db00073de98228b2f836d4dc9f38ebb75b7190
parente272f51b362cc008c3234c5c9862f7f51c0d01dd (diff)
downloadlibvirt-python-724df7f11b515507dce0f91dfa5b2e37db21d3c0.tar.gz
maint: document development against uninstalled libvirt
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@redhat.com>
-rw-r--r--README15
1 files changed, 15 insertions, 0 deletions
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