summaryrefslogtreecommitdiffstats
path: root/vpp-api/python
diff options
context:
space:
mode:
authorPeter Ginchev <pginchev@cisco.com>2016-09-26 10:46:17 +0300
committerPeter Ginchev <pginchev@cisco.com>2016-09-27 05:50:45 +0000
commit62a28716d872f1eaeecffd3a0c868943dec32814 (patch)
treea84d90a6826daecc69c1da80cfaecdd26598c264 /vpp-api/python
parentab3e42b08db051eca5c4516e80ae6c428615a8f9 (diff)
Fix import line for setup.py
Build fails in case python-setuptools is not installed. Change-Id: I1611f3560db82a4a48c51a9f614a813a9a540698 Signed-off-by: Peter Ginchev <pginchev@cisco.com>
Diffstat (limited to 'vpp-api/python')
-rw-r--r--vpp-api/python/setup.py4
1 files 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',