mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-08-02 04:21:59 +03:00
maint: document use of libvirt's run script
Ever since libvirt commit 78c09530, it's easier to just use the run script. * README: Mention run script. Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
7
README
7
README
@ -32,10 +32,11 @@ A makefile shim is provided so that you can do
|
|||||||
rather than directly invoking setup.py.
|
rather than directly invoking setup.py.
|
||||||
|
|
||||||
As of libvirt 1.2.6, it is possible to develop against an uninstalled
|
As of libvirt 1.2.6, it is possible to develop against an uninstalled
|
||||||
libvirt.git checkout, by setting some environment variables:
|
libvirt.git checkout, by setting PKG_CONFIG_PATH and LD_LIBRARY_PATH
|
||||||
|
environment variables to point into that libvirt tree; you can even
|
||||||
|
automate this by using libvirt's run script:
|
||||||
|
|
||||||
export PKG_CONFIG_PATH=/path/to/libvirt/git/src/
|
/path/to/libvirt/run python setup.py build
|
||||||
export LD_LIBRARY_PATH=/path/to/libvirt/git/src/.libs/
|
|
||||||
|
|
||||||
Patches for this code should be sent to the main libvirt
|
Patches for this code should be sent to the main libvirt
|
||||||
development mailing list
|
development mailing list
|
||||||
|
Reference in New Issue
Block a user