130967f79f15197f8a448d9114b6167db0d82201
[vpp.git] / src / vpp-api / python / setup.py
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
15 try:
16     from setuptools import setup, find_packages
17 except ImportError:
18     from distutils.core import setup, find_packages
19
20 setup(name='vpp_papi',
21       version='1.6',
22       description='VPP Python binding',
23       author='Ole Troan',
24       author_email='ot@cisco.com',
25       url='https://wiki.fd.io/view/VPP/Python_API',
26       license='Apache-2.0',
27       test_suite='tests',
28       # Add when we don't need to support 2.7.5
29       # 'enum34;python_version<"3.4"'],
30       install_requires=['cffi >= 1.6', 'enum34'],
31       packages=find_packages(),
32       long_description='''VPP Python language binding.''',
33       zip_safe=True)