X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvpp-api%2Fpython%2Fsetup.py;h=130967f79f15197f8a448d9114b6167db0d82201;hb=b199e98fef4256795db7fb055b180a07ce84de5c;hp=28c2ecce1ab0ea4ce4e35fde97ccc8b65af3b47f;hpb=3cc4971882235a539bc6177e8e4b4d92129b3a12;p=vpp.git diff --git a/src/vpp-api/python/setup.py b/src/vpp-api/python/setup.py index 28c2ecce1ab..130967f79f1 100644 --- a/src/vpp-api/python/setup.py +++ b/src/vpp-api/python/setup.py @@ -13,18 +13,21 @@ # limitations under the License. try: - from setuptools import setup + from setuptools import setup, find_packages except ImportError: - from distutils.core import setup + from distutils.core import setup, find_packages -setup (name = 'vpp_papi', - version = '1.4', - description = 'VPP Python binding', - author = 'Ole Troan', - author_email = 'ot@cisco.com', - test_suite = 'tests', - install_requires=['cffi'], - py_modules=['vpp_papi'], - long_description = '''VPP Python language binding.''', - zip_safe = True, -) +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)