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

Eric Blake eblake at redhat.com
Wed Jun 25 17:12:52 UTC 2014


On 06/25/2014 10:59 AM, Peter Krempa wrote:
> On 06/25/14 18:53, Eric Blake wrote:
>> 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(+)
>>
> 
> ACK,

Thanks; pushed.

FYI: I'm also using this (but considered it hackish enough to not
publish as a formal patch):

$ echo /GNUmakefile >> .git/info/exclude
$ cat GNUmakefile
# My hidden wrapper to preset things that I like...
include Makefile
export LD_LIBRARY_PATH=/home/eblake/libvirt/src/.libs/
export PKG_CONFIG_PATH=/home/eblake/libvirt/src/
$

Now all I have to do is run 'python setup.py build' to build against
installed libvirt, vs. 'make' to build against development libvirt, at
least for my machine.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140625/c3ef9c6d/attachment-0001.sig>


More information about the libvir-list mailing list