OSDN Git Service

configure: remove python pkg_resources check
authorOlaf Hering <olaf@aepfle.de>
Tue, 24 Nov 2020 21:19:25 +0000 (22:19 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 25 Nov 2020 17:49:40 +0000 (12:49 -0500)
Since meson.git#0240d760c7699a059cc89e584363c6431cdd2b61 setuptools is not required anymore.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20201124211925.4194-1-olaf@aepfle.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure

index 796cec1..18c26e0 100755 (executable)
--- a/configure
+++ b/configure
@@ -1912,9 +1912,6 @@ fi
 
 case "$meson" in
     git | internal)
-        if ! $python -c 'import pkg_resources' > /dev/null 2>&1; then
-            error_exit "Python setuptools not found"
-        fi
         meson="$python ${source_path}/meson/meson.py"
         ;;
     *) meson=$(command -v "$meson") ;;