From 1b206371231ab04ba9d4155e33bc6fa2e5e0b88c Mon Sep 17 00:00:00 2001 From: Jiashuo Li <4003950+jiasli@users.noreply.github.com> Date: Fri, 28 Jan 2022 18:38:12 +0800 Subject: [PATCH] {Packaging} Keep py3 model files (#21145) --- build_scripts/windows/scripts/build.cmd | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/build_scripts/windows/scripts/build.cmd b/build_scripts/windows/scripts/build.cmd index 10306588147..d14bbf7282f 100644 --- a/build_scripts/windows/scripts/build.cmd +++ b/build_scripts/windows/scripts/build.cmd @@ -111,18 +111,6 @@ copy %REPO_ROOT%\build_scripts\windows\resources\CLI_LICENSE.rtf %BUILDING_DIR% copy %REPO_ROOT%\build_scripts\windows\resources\ThirdPartyNotices.txt %BUILDING_DIR% copy %REPO_ROOT%\NOTICE.txt %BUILDING_DIR% -:: Use universal files and remove Py3 only files -pushd %BUILDING_DIR%\Lib\site-packages\azure\mgmt -for /f %%a in ('dir /b /s *_py3.py') do ( - set PY3_FILE=%%a - if exist !PY3_FILE! del !PY3_FILE! -) -for /f %%a in ('dir /b /s *_py3.*.pyc') do ( - set PY3_FILE=%%a - if exist !PY3_FILE! del !PY3_FILE! -) -popd - :: Remove .py and only deploy .pyc files pushd %BUILDING_DIR%\Lib\site-packages for /f %%f in ('dir /b /s *.pyc') do (