From 62a28716d872f1eaeecffd3a0c868943dec32814 Mon Sep 17 00:00:00 2001 From: Peter Ginchev Date: Mon, 26 Sep 2016 10:46:17 +0300 Subject: Fix import line for setup.py Build fails in case python-setuptools is not installed. Change-Id: I1611f3560db82a4a48c51a9f614a813a9a540698 Signed-off-by: Peter Ginchev --- vpp-api/python/setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vpp-api/python/setup.py b/vpp-api/python/setup.py index a2eeff3f436..cd7afc8a2ff 100644 --- a/vpp-api/python/setup.py +++ b/vpp-api/python/setup.py @@ -13,9 +13,9 @@ # limitations under the License. try: - from setuptools import setup, command, Extension + from setuptools import setup, Extension except ImportError: - from distutils.core import setup + from distutils.core import setup, Extension setup (name = 'vpp_papi', version = '1.2', -- cgit 1.2.3-korg