From patchwork Fri Aug 28 14:15:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 76143 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E6739A04B1; Fri, 28 Aug 2020 16:15:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A81E51C18E; Fri, 28 Aug 2020 16:15:53 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 743AD1C13B for ; Fri, 28 Aug 2020 16:15:52 +0200 (CEST) IronPort-SDR: mm3mJ3TA7ciy0cxZXxcVMTWMIhNfKJch1vq8/xHdwtYLA7SEueNye7qxjJIxyyyh2LDZTxYMRs 0chbVUTharDg== X-IronPort-AV: E=McAfee;i="6000,8403,9726"; a="157691028" X-IronPort-AV: E=Sophos;i="5.76,364,1592895600"; d="scan'208";a="157691028" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Aug 2020 07:15:51 -0700 IronPort-SDR: +JRUU8+7rCmAbOcysq5FqIL5lx/ovn4EAIfwx0O5zBSDut8GJ52Z5gA9tBi2lg3OCTyjoqsJo8 9ruD7bREzScg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,364,1592895600"; d="scan'208";a="313613638" Received: from silpixa00399126.ir.intel.com ([10.237.222.27]) by orsmga002.jf.intel.com with ESMTP; 28 Aug 2020 07:15:50 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson , Anatoly Burakov Date: Fri, 28 Aug 2020 15:15:46 +0100 Message-Id: <20200828141546.324781-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200513110249.26667-1-bruce.richardson@intel.com> References: <20200513110249.26667-1-bruce.richardson@intel.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2] buildtools/map_to_win.py: drop python2 support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 Acked-by: Anatoly Burakov --- 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