Ole Troan | 57c3d66 | 2016-09-12 22:00:32 +0200 | [diff] [blame] | 1 | # |
| 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 Troan | 5f9dcff | 2016-08-01 04:59:13 +0200 | [diff] [blame] | 15 | try: |
Peter Ginchev | 62a2871 | 2016-09-26 10:46:17 +0300 | [diff] [blame] | 16 | from setuptools import setup, Extension |
Ole Troan | 5f9dcff | 2016-08-01 04:59:13 +0200 | [diff] [blame] | 17 | except ImportError: |
Peter Ginchev | 62a2871 | 2016-09-26 10:46:17 +0300 | [diff] [blame] | 18 | from distutils.core import setup, Extension |
Ole Troan | 6855f6c | 2016-04-09 03:16:30 +0200 | [diff] [blame] | 19 | |
| 20 | setup (name = 'vpp_papi', |
Ole Troan | a03f4ef | 2016-12-02 12:53:55 +0100 | [diff] [blame] | 21 | version = '1.3', |
Ole Troan | 6855f6c | 2016-04-09 03:16:30 +0200 | [diff] [blame] | 22 | description = 'VPP Python binding', |
| 23 | author = 'Ole Troan', |
| 24 | author_email = 'ot@cisco.com', |
Ole Troan | 5f9dcff | 2016-08-01 04:59:13 +0200 | [diff] [blame] | 25 | test_suite = 'tests', |
Ole Troan | 6855f6c | 2016-04-09 03:16:30 +0200 | [diff] [blame] | 26 | packages=['vpp_papi'], |
Ole Troan | 57c3d66 | 2016-09-12 22:00:32 +0200 | [diff] [blame] | 27 | 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 | ) |