mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Added file to slim the windows install
This commit is contained in:
parent
54b32db78d
commit
98944e9842
20
pkg/windows/installer/SlimPython.bat
Normal file
20
pkg/windows/installer/SlimPython.bat
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user