From: Peter Ginchev Date: Mon, 26 Sep 2016 07:46:17 +0000 (+0300) Subject: Fix import line for setup.py X-Git-Tag: v17.01-rc0~167 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=62a28716d872f1eaeecffd3a0c868943dec32814;p=vpp.git Fix import line for setup.py Build fails in case python-setuptools is not installed. Change-Id: I1611f3560db82a4a48c51a9f614a813a9a540698 Signed-off-by: Peter Ginchev --- 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',