diff --git a/Tools/make_binary_drop_linux b/Tools/make_binary_drop_linux index 29befe76c..d54e0670b 100755 --- a/Tools/make_binary_drop_linux +++ b/Tools/make_binary_drop_linux @@ -149,6 +149,7 @@ mkdir -p $baseBinariesPath echo "Copying build binaries..." >&3 cp -r $buildPath/* $baseBinariesPath # Remove unnessesary file(s) if exist(s) +rm -rf $baseBinariesPath/python rm -f $baseBinariesPath/bin/brainscripttests rm -f $baseBinariesPath/bin/cppevalclient rm -f $baseBinariesPath/bin/evaltests diff --git a/Tools/make_binary_drop_windows.ps1 b/Tools/make_binary_drop_windows.ps1 index b49aaa6c8..f569ba57d 100644 --- a/Tools/make_binary_drop_windows.ps1 +++ b/Tools/make_binary_drop_windows.ps1 @@ -76,6 +76,10 @@ Remove-Item $baseDropPath\cntk\*.lib -exclude EvalDll.lib Remove-Item $baseDropPath\cntk\*.exp Remove-Item $baseDropPath\cntk\*.metagen # Remove specific items +If (Test-Path $baseDropPath\cntk\Python) +{ + Remove-Item $baseDropPath\cntk\Python -Recurse +} If (Test-Path $baseDropPath\cntk\CNTKLibrary-2.0.dll) { Remove-Item $baseDropPath\cntk\CNTKLibrary-2.0.dll