X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Fvpp_config%2Fsetup.py;h=010920bd7d54e26b7428beba75d894575e03e0fc;hb=cdf73b973181ff4c67147900408216e37bae897a;hp=8d2a396876257d41e2ae2c3e708d18455c5d4394;hpb=a3db0782d4c069733fa2e3ac1763efd4499b1de7;p=vpp.git diff --git a/extras/vpp_config/setup.py b/extras/vpp_config/setup.py index 8d2a3968762..010920bd7d5 100644 --- a/extras/vpp_config/setup.py +++ b/extras/vpp_config/setup.py @@ -1,22 +1,31 @@ from setuptools import setup -setup(name="vpp_config", - version="17.10.3", - author="John DeNisco", - author_email="jdenisco@cisco.com", - description="VPP Configuration Utility", - license = 'Apache-2.0', - keywords="vppconfig", - url = 'https://wiki.fd.io/view/VPP', - py_modules=['vpp_config'], - install_requires=['pyyaml'], - packages=['vpplib'], - scripts=['scripts/vpp-config'], - data_files=[('vpp/vpp-config/scripts', ['scripts/dpdk-devbind.py']), - ('vpp/vpp-config/configs', ['data/auto-config.yaml']), - ('vpp/vpp-config/dryrun/sysctl.d', ['data/80-vpp.conf.template']), - ('vpp/vpp-config/dryrun/default', ['data/grub.template']), - ('vpp/vpp-config/dryrun/vpp', ['data/startup.conf.template']), - ], - long_description="The VPP configuration utility can be used to easily configure VPP.", - ) +setup( + name="vpp_config", + version="20.05.1", + author="John DeNisco", + author_email="jdenisco@cisco.com", + description="VPP Configuration Utility", + license="Apache-2.0", + keywords="vppconfig", + url="https://wiki.fd.io/view/VPP", + py_modules=["vpp_config"], + install_requires=["distro", "pyyaml", "requests"], + extra_requires=["ipaddress; python_version < '3.3'"], + packages=["vpplib"], + entry_points={ + "console_scripts": ["vpp-config=vpp_config:config_main"], + }, + data_files=[ + ("vpp/vpp-config/scripts", ["scripts/dpdk-devbind.py"]), + ("vpp/vpp-config/configs", ["data/auto-config.yaml"]), + ("vpp/vpp-config/configs", ["data/cloud-config.iso"]), + ("vpp/vpp-config/configs", ["data/iperf-centos.xml.template"]), + ("vpp/vpp-config/configs", ["data/iperf-ubuntu.xml.template"]), + ("vpp/vpp-config/dryrun/sysctl.d", ["data/80-vpp.conf.template"]), + ("vpp/vpp-config/dryrun/default", ["data/grub.template"]), + ("vpp/vpp-config/dryrun/vpp", ["data/startup.conf.template"]), + ], + long_description="The VPP configuration utility can be used to " + "easily configure VPP.", +)