[dpdk-dev] [PATCH v2] buildtools/map_to_win.py: drop python2 support
Bruce Richardson
bruce.richardson at intel.com
Fri Aug 28 16:15:46 CEST 2020
The build scripts called from meson all use python3 as meson itself depends
upon python3. Therefore there is no need for python2 compatibility in these
script files, as well as which python2 support is being dropped generally
from DPDK.
Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
---
V2: rebased for 20.11, since this script is not covered by set
http://patches.dpdk.org/project/dpdk/list/?series=11739
---
buildtools/map_to_win.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/buildtools/map_to_win.py b/buildtools/map_to_win.py
index 2990b58634..2a6cb88605 100644
--- a/buildtools/map_to_win.py
+++ b/buildtools/map_to_win.py
@@ -1,8 +1,7 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2019 Intel Corporation
-from __future__ import print_function
import sys
from os.path import dirname, basename, join, exists
--
2.25.1
More information about the dev
mailing list