Files
vpp/vpp-api/python/setup.py
Gabriel Ganne 7067350c41 vpp-python-api deb packaging - use easy_install to install the python api
(cherry picked from commit 5a68debd81)

Change-Id: Iabad73d6092b4561ba9d4d22a057bb5871d850a6
Signed-off-by: Gabriel Ganne <gabriel.ganne@qosmos.com>
2017-01-20 20:29:21 +00:00

36 lines
1.2 KiB
Python

#
# Copyright (c) 2016 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
try:
from setuptools import setup, Extension
except ImportError:
from distutils.core import setup, Extension
setup (name = 'vpp_papi',
version = '1.3',
description = 'VPP Python binding',
author = 'Ole Troan',
author_email = 'ot@cisco.com',
test_suite = 'tests',
packages=['vpp_papi'],
ext_modules = [
Extension(
'vpp_api',
sources = ['vpp_papi/pneum_wrap.c'],
libraries = ['pneum'],
)],
long_description = '''VPP Python language binding.''',
zip_safe = True,
)