virtinst: could not find python modules, add python wrapper

This commit is contained in:
Aristid Breitkreuz 2013-02-05 18:15:58 +01:00
parent d10679eed4
commit 07c64a7a6c

View file

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
distutils_extra simplejson readline glance cheetah lockfile httplib2
# !!! should libvirt be a build-time dependency? Note that
# libxml2Python is a dependency of libvirt.py.
libvirt libxml2Python
libvirt libxml2Python urlgrabber
];
buildInputs =
@ -31,8 +31,9 @@ stdenv.mkDerivation rec {
buildPhase = "python setup.py build";
installPhase =
''
''
python setup.py install --prefix="$out";
wrapPythonPrograms
'';
meta = {