From 8d6ea037135d536aff017a22e4cb8b6b7f70a205 Mon Sep 17 00:00:00 2001 From: Hang Date: Fri, 18 Aug 2023 10:45:57 +0800 Subject: [PATCH] Init --- build_scripts/windows/scripts/build.cmd | 2 +- src/azure-cli/requirements.py3.Darwin.txt | 1 + src/azure-cli/requirements.py3.Linux.txt | 1 + src/azure-cli/requirements.py3.windows.txt | 1 + src/azure-cli/setup.py | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/build_scripts/windows/scripts/build.cmd b/build_scripts/windows/scripts/build.cmd index 94414ed694b..2e5e60195d0 100644 --- a/build_scripts/windows/scripts/build.cmd +++ b/build_scripts/windows/scripts/build.cmd @@ -122,7 +122,7 @@ set PYTHON_EXE=%PYTHON_DIR%\python.exe robocopy %PYTHON_DIR% %BUILDING_DIR% /s /NFL /NDL set CLI_SRC=%REPO_ROOT%\src -%BUILDING_DIR%\python.exe -m pip install --no-warn-script-location --force-reinstall pycparser==2.18 +%BUILDING_DIR%\python.exe -m pip install --upgrade --no-warn-script-location setuptools for %%a in (%CLI_SRC%\azure-cli %CLI_SRC%\azure-cli-core %CLI_SRC%\azure-cli-telemetry) do ( pushd %%a %BUILDING_DIR%\python.exe -m pip install --no-warn-script-location --no-cache-dir --no-deps . diff --git a/src/azure-cli/requirements.py3.Darwin.txt b/src/azure-cli/requirements.py3.Darwin.txt index 7c127dbe877..549b68053f4 100644 --- a/src/azure-cli/requirements.py3.Darwin.txt +++ b/src/azure-cli/requirements.py3.Darwin.txt @@ -129,6 +129,7 @@ requests-oauthlib==1.2.0 requests[socks]==2.31.0 scp==0.13.2 semver==2.13.0 +setuptools six==1.16.0 sshtunnel==0.1.5 tabulate==0.8.9 diff --git a/src/azure-cli/requirements.py3.Linux.txt b/src/azure-cli/requirements.py3.Linux.txt index 1b4221a29d8..aa71a0a680e 100644 --- a/src/azure-cli/requirements.py3.Linux.txt +++ b/src/azure-cli/requirements.py3.Linux.txt @@ -130,6 +130,7 @@ requests-oauthlib==1.2.0 requests[socks]==2.31.0 scp==0.13.2 semver==2.13.0 +setuptools six==1.16.0 sshtunnel==0.1.5 tabulate==0.8.9 diff --git a/src/azure-cli/requirements.py3.windows.txt b/src/azure-cli/requirements.py3.windows.txt index 757ddfef89d..57825704b43 100644 --- a/src/azure-cli/requirements.py3.windows.txt +++ b/src/azure-cli/requirements.py3.windows.txt @@ -130,6 +130,7 @@ requests-oauthlib==1.2.0 requests[socks]==2.31.0 scp==0.13.2 semver==2.13.0 +setuptools six==1.16.0 sshtunnel==0.1.5 tabulate==0.8.9 diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index 92334f4236f..fae48333d89 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -145,6 +145,7 @@ 'PyNaCl~=1.5.0', 'scp~=0.13.2', 'semver==2.13.0', + 'setuptools', 'six>=1.10.0', # six is still used by countless extensions 'sshtunnel~=0.1.4', 'urllib3',