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. |
Paul Vinciguerra | 49ff6d1 | 2019-02-25 18:55:28 -0800 | [diff] [blame] | 14 | import sys |
| 15 | |
Ole Troan | 5f9dcff | 2016-08-01 04:59:13 +0200 | [diff] [blame] | 16 | try: |
Ole Troan | a7564e8 | 2018-06-12 21:06:44 +0200 | [diff] [blame] | 17 | from setuptools import setup, find_packages |
Ole Troan | 5f9dcff | 2016-08-01 04:59:13 +0200 | [diff] [blame] | 18 | except ImportError: |
Ole Troan | a7564e8 | 2018-06-12 21:06:44 +0200 | [diff] [blame] | 19 | from distutils.core import setup, find_packages |
Ole Troan | 6855f6c | 2016-04-09 03:16:30 +0200 | [diff] [blame] | 20 | |
Paul Vinciguerra | 2d7b090 | 2019-06-06 07:38:42 -0400 | [diff] [blame] | 21 | requirements = ['cffi >= 1.6'] |
Paul Vinciguerra | 2d7b090 | 2019-06-06 07:38:42 -0400 | [diff] [blame] | 22 | |
Paul Vinciguerra | 49ff6d1 | 2019-02-25 18:55:28 -0800 | [diff] [blame] | 23 | setup( |
| 24 | name='vpp_papi', |
| 25 | version='1.6.2', |
| 26 | description='VPP Python binding', |
| 27 | author='Ole Troan', |
| 28 | author_email='ot@cisco.com', |
| 29 | url='https://wiki.fd.io/view/VPP/Python_API', |
| 30 | license='Apache-2.0', |
| 31 | test_suite='vpp_papi.tests', |
Paul Vinciguerra | 2d7b090 | 2019-06-06 07:38:42 -0400 | [diff] [blame] | 32 | install_requires=requirements, |
Paul Vinciguerra | 49ff6d1 | 2019-02-25 18:55:28 -0800 | [diff] [blame] | 33 | packages=find_packages(), |
| 34 | long_description='''VPP Python language binding.''', |
| 35 | zip_safe=True) |