From cccb24da929e119bf11e9667791e3b9a565c14c3 Mon Sep 17 00:00:00 2001 From: twangboy Date: Wed, 18 Mar 2015 17:52:27 -0600 Subject: [PATCH] Added file to slim the windows install --- pkg/windows/installer/SlimPython.bat | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pkg/windows/installer/SlimPython.bat diff --git a/pkg/windows/installer/SlimPython.bat b/pkg/windows/installer/SlimPython.bat new file mode 100644 index 000000000000..7ec44e9047df --- /dev/null +++ b/pkg/windows/installer/SlimPython.bat @@ -0,0 +1,20 @@ +:: Remove all Compiled Python files (.pyc) +del /S /Q .\bin\*.pyc + +:: Delete Unused Docs and Modules +rd /S /Q .\bin\Doc +rd /S /Q .\bin\share +rd /S /Q .\bin\tcl +rd /S /Q .\bin\Lib\idlelib +rd /S /Q .\bin\Lib\lib-tk +rd /S /Q .\bin\Lib\test +rd /S /Q .\bin\Lib\unit-test + +:: Delete Unused .dll files +del /S /Q .\bin\DLLs\tcl85.dll +del /S /Q .\bin\DLLs\tclpip85.dll +del /S /Q .\bin\DLLs\tk85.dll + +:: Delete .txt files +del /q .\bin\NEWS.txt +del /q .\bin\README.txt