From 38798140c428265740628a22a0f2d234daba307b Mon Sep 17 00:00:00 2001 From: Aviv Keller <38299977+RedYetiDev@users.noreply.github.com> Date: Mon, 26 Aug 2024 16:43:19 -0400 Subject: [PATCH] tools: remove unused python files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/53928 Reviewed-By: Moshe Atlow Reviewed-By: Luigi Pinca Reviewed-By: James M Snell Reviewed-By: Ulises Gascón --- tools/getarch.py | 10 ---------- tools/getendian.py | 4 ---- tools/getmachine.py | 3 --- 3 files changed, 17 deletions(-) delete mode 100644 tools/getarch.py delete mode 100644 tools/getendian.py delete mode 100644 tools/getmachine.py diff --git a/tools/getarch.py b/tools/getarch.py deleted file mode 100644 index 3c366525463340..00000000000000 --- a/tools/getarch.py +++ /dev/null @@ -1,10 +0,0 @@ -from __future__ import print_function -from utils import GuessArchitecture -arch = GuessArchitecture() - -# assume 64 bit unless set specifically -print(GuessArchitecture() \ - .replace('ia32', 'x64') \ - .replace('ppc', 'ppc64') \ - .replace('arm', 'arm64') \ - .replace('s390', 's390x')) diff --git a/tools/getendian.py b/tools/getendian.py deleted file mode 100644 index 0f9fcc1c860584..00000000000000 --- a/tools/getendian.py +++ /dev/null @@ -1,4 +0,0 @@ -from __future__ import print_function -import sys -# "little" or "big" -print(sys.byteorder) diff --git a/tools/getmachine.py b/tools/getmachine.py deleted file mode 100644 index 046d8b17a797fd..00000000000000 --- a/tools/getmachine.py +++ /dev/null @@ -1,3 +0,0 @@ -from __future__ import print_function -import platform -print(platform.machine())