diff options
Diffstat (limited to 'exefying.bat')
-rw-r--r-- | exefying.bat | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/exefying.bat b/exefying.bat new file mode 100644 index 0000000..bce966d --- /dev/null +++ b/exefying.bat @@ -0,0 +1,20 @@ +@echo off
+REM Exefying the script...
+
+python.exe -OO mkexe.py py2exe
+
+REM Uncomment next line, if you do not want to compress...
+REM goto end
+
+REM recompress the library
+cd dist\
+7z.exe -aoa x library.zip -olibrary\
+cd library\
+7z.exe a -tzip -mx9 ..\library.zip -r
+cd .. +rd library /s /q
+
+REM UPX-Packing
+upx.exe --best *.*
+:end
+echo Done
|