blob: 99a0147a56f956e6aa6943219f6cb4b3df6675e3 [file] [log] [blame]
Ole Troan57c3d662016-09-12 22:00:32 +02001#
2# Copyright (c) 2016 Cisco and/or its affiliates.
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at:
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
Ole Troan5f9dcff2016-08-01 04:59:13 +020015try:
Peter Ginchev62a28712016-09-26 10:46:17 +030016 from setuptools import setup, Extension
Ole Troan5f9dcff2016-08-01 04:59:13 +020017except ImportError:
Peter Ginchev62a28712016-09-26 10:46:17 +030018 from distutils.core import setup, Extension
Ole Troan6855f6c2016-04-09 03:16:30 +020019
20setup (name = 'vpp_papi',
Ole Troana03f4ef2016-12-02 12:53:55 +010021 version = '1.3',
Ole Troan6855f6c2016-04-09 03:16:30 +020022 description = 'VPP Python binding',
23 author = 'Ole Troan',
24 author_email = 'ot@cisco.com',
Ole Troan5f9dcff2016-08-01 04:59:13 +020025 test_suite = 'tests',
Ole Troan6855f6c2016-04-09 03:16:30 +020026 packages=['vpp_papi'],
Ole Troan57c3d662016-09-12 22:00:32 +020027 ext_modules = [
28 Extension(
29 'vpp_api',
30 sources = ['vpp_papi/pneum_wrap.c'],
31 libraries = ['pneum'],
32 )],
33 long_description = '''VPP Python language binding.''',
34)