From patchwork Wed May 13 11:02:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 70163 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 560C5A034F; Wed, 13 May 2020 13:02:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2E8191D515; Wed, 13 May 2020 13:02:59 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id E311A1C2F6 for ; Wed, 13 May 2020 13:02:57 +0200 (CEST) IronPort-SDR: +AiPACnEl7eQ1OIGJWo7orYY4PF8+P5gze/0nEVM49j58tMOVj4+RUKqQRKArIvU8hBNMEONif IYOd0k5YDPbg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 May 2020 04:02:57 -0700 IronPort-SDR: ahV6+9s0CW6f6xsc2Vka/WxroKpM7iTZIEz5qAsDpH0ym30dss9RndwiCtA3b7LbuEQdqJ18hu 0WLPRRputKsg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,387,1583222400"; d="scan'208";a="262445042" Received: from silpixa00399126.ir.intel.com ([10.237.222.218]) by orsmga003.jf.intel.com with ESMTP; 13 May 2020 04:02:56 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Date: Wed, 13 May 2020 12:02:49 +0100 Message-Id: <20200513110249.26667-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 20.08] buildtools/map_to_def.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. Signed-off-by: Bruce Richardson Acked-by: Anatoly Burakov --- buildtools/map_to_def.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/buildtools/map_to_def.py b/buildtools/map_to_def.py index 6775b54a9..9edde7a67 100644 --- a/buildtools/map_to_def.py +++ b/buildtools/map_to_def.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