From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=195.135.221.5; helo=smtp.nue.novell.com; envelope-from=glin@suse.com; receiver=edk2-devel@lists.01.org Received: from smtp.nue.novell.com (smtp.nue.novell.com [195.135.221.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 1E5CE21A02937 for ; Wed, 27 Jun 2018 03:08:15 -0700 (PDT) Received: from localhost.localdomain (unknown.telstraglobal.net [134.159.103.118]) by smtp.nue.novell.com with ESMTP (NOT encrypted); Wed, 27 Jun 2018 12:08:12 +0200 From: Gary Lin To: edk2-devel@lists.01.org Cc: Yonghong Zhu , Liming Gao Date: Wed, 27 Jun 2018 18:07:54 +0800 Message-Id: <20180627100757.3405-1-glin@suse.com> X-Mailer: git-send-email 2.17.1 Subject: [PATCH 0/3] python3 follow-up patches for BaseTools X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 10:08:16 -0000 This is the follow-up patch set for my previous python3 patch series: https://lists.01.org/pipermail/edk2-devel/2018-June/026499.html * A replacement of "<>" is missed in the previous series, and this is fixed in this patch set. * The previous patch to unify long and int caused the build error due to the absence of long in TypeDict. The new implementation should be compatible with both python2 and python3. * Several bash scripts are modified to read PYTHON_DEFAULT to switch to the python3 interpreter so that we can test the python3 compatibility easily. Please note that BaseTools is still not ready, so any error from python3 interpreter is expected. Contributed-under: TianoCore Contribution Agreement 1.1 Cc: Yonghong Zhu Cc: Liming Gao Signed-off-by: Gary Lin Gary Lin (3): BaseTools: Remove the old python "not-equal" in DscBuildData.py BaseTools: Unify long and int in Expression.py BaseTools: Read the env variable PYTHON_DEFAULT BaseTools/BinWrappers/PosixLike/BPDG | 6 +++++- BaseTools/BinWrappers/PosixLike/Ecc | 6 +++++- BaseTools/BinWrappers/PosixLike/GenDepex | 6 +++++- BaseTools/BinWrappers/PosixLike/GenFds | 6 +++++- BaseTools/BinWrappers/PosixLike/GenPatchPcdTable | 6 +++++- BaseTools/BinWrappers/PosixLike/PatchPcdValue | 6 +++++- BaseTools/BinWrappers/PosixLike/Pkcs7Sign | 6 +++++- BaseTools/BinWrappers/PosixLike/Rsa2048Sha256GenerateKeys | 6 +++++- BaseTools/BinWrappers/PosixLike/Rsa2048Sha256Sign | 6 +++++- BaseTools/BinWrappers/PosixLike/TargetTool | 6 +++++- BaseTools/BinWrappers/PosixLike/Trim | 6 +++++- BaseTools/BinWrappers/PosixLike/UPT | 6 +++++- BaseTools/BinWrappers/PosixLike/build | 6 +++++- BaseTools/Source/Python/Common/Expression.py | 6 ++++-- BaseTools/Source/Python/Workspace/DscBuildData.py | 2 +- 15 files changed, 70 insertions(+), 16 deletions(-) -- 2.17.1