From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::142; helo=mail-it1-x142.google.com; envelope-from=theracermaster@gmail.com; receiver=edk2-devel@lists.01.org Received: from mail-it1-x142.google.com (mail-it1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 36F0F21164EFA for ; Sat, 13 Oct 2018 13:52:48 -0700 (PDT) Received: by mail-it1-x142.google.com with SMTP id i191-v6so22689100iti.5 for ; Sat, 13 Oct 2018 13:52:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Wxf512UB4SszfT5H5dUqoNOny5CxiiIb5EUHJJA7bEM=; b=ZyjflRPbYFMuabTps0PdrXvSVgTkyn+eV9n56mwyAW4JDM4CA3S7XQk8vLTjna00zH fNd9mky/1Jd8qECQ2dwLOJgD9hGVPuOTJuwDhe1yTs4FSaP5DvMYXWbMCRwq/PisdlGV UK9O/2RLKREhabJqwGXBwSgUbDS0VTNMcKVHUMxCw8zViuws2l+QkGuUsKOsH6MvIEHa l3L8VprsnUr92vLTv66UkQaDJ1IlsSXc388CKcKmyVvY+Q8rhMl6SgPbJYyI337Oxx0D FuCYdhtT7MNYGQbQa7ijHnKj8hkLC8tEumtfQqB3BQ4StA+bs/q6QR/BSx+k6PGjpHfZ batw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Wxf512UB4SszfT5H5dUqoNOny5CxiiIb5EUHJJA7bEM=; b=Ph8SX9kCLVvay4uj/BHcM2dqm2CM11YNSpSoBNTkz0WQ140SxqCy7OaYOGl5m49kuJ 3p9cl3V9RCFgz/J0ligNdQJkZTrYxnG8nhR+I9hlpVKfUAxKnCjNLrBMOser2ju50Z5f WYhl+pJQeqO3C/Fa0u6oj1B8RSKKADs8Wg4O6zZGo0LFh9VQRUrnYL9nif3LqbbuhX7L j3keoRI4Ree+RshqEIYJCffoe3JGljUrm+Sgxuoab89R1iHW2e1bD42/p6AP59HVnulQ JZOsoOkwyFXcOljFtIbLiAh4X5qDCypYr9eWVnC58CTA4zxFxCTQK+559OeVRAsbganq l+zQ== X-Gm-Message-State: ABuFfogwj/AsyZ58b0oItFxJHkGjQC55xJ7YKa7QQ0iHXntzk9MzXjz7 VJaBTdq9kVou06iphkm+qaHAa13R X-Google-Smtp-Source: ACcGV63UA0d8yQ0AFs7FEPAnY5c1r+0NBa509KArnVxvhFZYtFgvzjvgtriitegxkCkX4yU+kux2wA== X-Received: by 2002:a02:5147:: with SMTP id s68-v6mr8492766jaa.62.1539463967082; Sat, 13 Oct 2018 13:52:47 -0700 (PDT) Received: from localhost.localdomain (c-73-73-210-170.hsd1.il.comcast.net. [73.73.210.170]) by smtp.gmail.com with ESMTPSA id x8-v6sm1471577iog.13.2018.10.13.13.52.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Oct 2018 13:52:46 -0700 (PDT) From: Alex James To: edk2-devel@lists.01.org Cc: Yonghong Zhu , Liming Gao Date: Sat, 13 Oct 2018 15:52:41 -0500 Message-Id: <20181013205241.92311-1-theracermaster@gmail.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Subject: [PATCH v1] BaseTools: Remove sitecustomize module X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Oct 2018 20:52:48 -0000 Content-Transfer-Encoding: 8bit The sitecustomize module in BaseTools was used to set the default text encoding on macOS systems. Setting the default system encoding is unsupported in Python 3, so remove the sitecustomize module. Cc: Yonghong Zhu Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Alex James --- BaseTools/Source/Python/sitecustomize.py | 21 -------------------- 1 file changed, 21 deletions(-) diff --git a/BaseTools/Source/Python/sitecustomize.py b/BaseTools/Source/Python/sitecustomize.py deleted file mode 100644 index 3afa90700e..0000000000 --- a/BaseTools/Source/Python/sitecustomize.py +++ /dev/null @@ -1,21 +0,0 @@ -## @file -# -# -# Copyright (c) 2009 - 2014, Apple Inc. All rights reserved.
-# -# This program and the accompanying materials -# are licensed and made available under the terms and conditions of the BSD License -# which accompanies this distribution. The full text of the license may be found at -# http://opensource.org/licenses/bsd-license.php -# -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -import sys -import locale - -if sys.platform == "darwin": - DefaultLocal = locale.getdefaultlocale()[1] - if DefaultLocal is None: - DefaultLocal = 'UTF8' - sys.setdefaultencoding(DefaultLocal) - -- 2.19.1