summaryrefslogtreecommitdiffstats
path: root/extras/vpp_config/setup.py
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-04-30 21:15:18 -0700
committerDamjan Marion <dmarion@me.com>2019-05-01 17:24:07 +0000
commitef1ae3ad01ab2a02c085dbbe5473d8109f5f1aea (patch)
tree31e527a4ddef1c72c9ca9f2eb21dc5a138677d8b /extras/vpp_config/setup.py
parentb11c288f11bb04cb48c50088279546085db8bc27 (diff)
vpp_config: Update deprecated platform.linux_distribution()
platform.linux_distribution() was deprecated in python 3.5 and removed in 3.8. update to use distro.linux_distribution(). >>> import platform >>> platform.linux_distribution() ('Ubuntu', '16.04', 'xenial') >>> import distro >>> distro.linux_distribution() ('Ubuntu', '16.04', 'xenial') Change-Id: Ia8a7cd2d78fd56145cdded0b9d361a1b45bb4d27 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'extras/vpp_config/setup.py')
-rw-r--r--extras/vpp_config/setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/vpp_config/setup.py b/extras/vpp_config/setup.py
index f04669f7e42..977ad38ca98 100644
--- a/extras/vpp_config/setup.py
+++ b/extras/vpp_config/setup.py
@@ -9,7 +9,7 @@ setup(name="vpp_config",
keywords="vppconfig",
url='https://wiki.fd.io/view/VPP',
py_modules=['vpp_config'],
- install_requires=['pyyaml', 'requests'],
+ install_requires=['distro', 'pyyaml', 'requests'],
extra_requires=["ipaddress; python_version < '3.3'"],
packages=['vpplib'],
entry_points={