Skip to content

Commit

Permalink
Added file to slim the windows install
Browse files Browse the repository at this point in the history
  • Loading branch information
twangboy committed Mar 18, 2015
1 parent 389394f commit cccb24d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pkg/windows/installer/SlimPython.bat
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit cccb24d

Please sign in to comment.