2016-09-12 22:00:32 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2016-08-01 04:59:13 +02:00
|
|
|
try:
|
2016-09-26 10:46:17 +03:00
|
|
|
from setuptools import setup, Extension
|
2016-08-01 04:59:13 +02:00
|
|
|
except ImportError:
|
2016-09-26 10:46:17 +03:00
|
|
|
from distutils.core import setup, Extension
|
2016-04-09 03:16:30 +02:00
|
|
|
|
|
|
|
setup (name = 'vpp_papi',
|
2016-09-12 22:00:32 +02:00
|
|
|
version = '1.2',
|
2016-04-09 03:16:30 +02:00
|
|
|
description = 'VPP Python binding',
|
|
|
|
author = 'Ole Troan',
|
|
|
|
author_email = 'ot@cisco.com',
|
2016-08-01 04:59:13 +02:00
|
|
|
test_suite = 'tests',
|
2016-04-09 03:16:30 +02:00
|
|
|
packages=['vpp_papi'],
|
2016-09-12 22:00:32 +02:00
|
|
|
ext_modules = [
|
|
|
|
Extension(
|
|
|
|
'vpp_api',
|
|
|
|
sources = ['vpp_papi/pneum_wrap.c'],
|
|
|
|
libraries = ['pneum'],
|
|
|
|
)],
|
|
|
|
long_description = '''VPP Python language binding.''',
|
|
|
|
)
|