From 6ea6c84b3de30b25487f2f379a0648c16e6e4387 Mon Sep 17 00:00:00 2001 From: louistiti Date: Sat, 15 Oct 2022 21:38:22 +0800 Subject: [PATCH] refactor: remove setuptools and wheel force install for macOS ARM64 arch --- scripts/setup/setup-python-dev-env.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/scripts/setup/setup-python-dev-env.js b/scripts/setup/setup-python-dev-env.js index 29ff1425..b5c86aea 100644 --- a/scripts/setup/setup-python-dev-env.js +++ b/scripts/setup/setup-python-dev-env.js @@ -151,17 +151,6 @@ SPACY_MODELS.set('fr', { ) { LogHelper.info('macOS ARM64 detected') - LogHelper.info( - 'Forcing setuptools and wheel Python packages to be installed as latest version...' - ) - await command(`pipenv run pip install --upgrade setuptools wheel`, { - shell: true, - stdio: 'inherit' - }) - LogHelper.success( - 'setuptools and wheel Python packages installed as latest version' - ) - LogHelper.info( 'Installing Rust installer as it is needed for the "tokenizers" package for macOS ARM64 architecture...' )