X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvpp-api%2Fpython%2Fsetup.py;h=130967f79f15197f8a448d9114b6167db0d82201;hb=b199e98fef4256795db7fb055b180a07ce84de5c;hp=99a0147a56f956e6aa6943219f6cb4b3df6675e3;hpb=7cd468a3d7dee7d6c92f69a0bb7061ae208ec727;p=vpp.git diff --git a/src/vpp-api/python/setup.py b/src/vpp-api/python/setup.py index 99a0147a56f..130967f79f1 100644 --- a/src/vpp-api/python/setup.py +++ b/src/vpp-api/python/setup.py @@ -13,22 +13,21 @@ # limitations under the License. try: - from setuptools import setup, Extension + from setuptools import setup, find_packages except ImportError: - from distutils.core import setup, Extension + from distutils.core import setup, find_packages -setup (name = 'vpp_papi', - version = '1.3', - description = 'VPP Python binding', - author = 'Ole Troan', - author_email = 'ot@cisco.com', - test_suite = 'tests', - packages=['vpp_papi'], - ext_modules = [ - Extension( - 'vpp_api', - sources = ['vpp_papi/pneum_wrap.c'], - libraries = ['pneum'], - )], - long_description = '''VPP Python language binding.''', -) +setup(name='vpp_papi', + version='1.6', + description='VPP Python binding', + author='Ole Troan', + author_email='ot@cisco.com', + url='https://wiki.fd.io/view/VPP/Python_API', + license='Apache-2.0', + test_suite='tests', + # Add when we don't need to support 2.7.5 + # 'enum34;python_version<"3.4"'], + install_requires=['cffi >= 1.6', 'enum34'], + packages=find_packages(), + long_description='''VPP Python language binding.''', + zip_safe=True)