[libvirt] Python script and extension module directory handling

Daniel P. Berrange berrange at redhat.com
Sat Dec 12 11:12:31 UTC 2009


On Sat, Dec 12, 2009 at 12:47:46AM +0100, Matthias Bolte wrote:

> From 1f5083be1dcbf6877dfbae44e9ea4e50ebaec708 Mon Sep 17 00:00:00 2001
> From: Matthias Bolte <matthias.bolte at googlemail.com>
> Date: Sat, 12 Dec 2009 00:11:31 +0100
> Subject: [PATCH] Fix install location for Python bindings
> 
> Commit 66137344feb488ea87b0d92f3c03844d9a7a7786 changed the Python detection
> mechanism in configure to use AM_PATH_PYTHON. This results in a changed
> install location for the Python bindings, at least on Fedora 12 64bit systems.
> 
> Before this commit libvirt.py and libvirtmod.so were installed to
> 
>   /usr/lib64/python2.6/site-packages
> 
> After this commit they are installed to
> 
>   /usr/lib/python2.6/site-packages
> 
> Mixed Python packages (containing *.py and *.so files) should be installed to
> the pyexecdir directory detected by AM_PATH_PYTHON.
> 
> This restores the install location from before the AM_PATH_PYTHON commit.
> 
> * configure.in: remove unnecessary pythondir export
> * python/Makefile.am: switch from pythondir to pyexecdir

ACK this looks correct to me.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list