summaryrefslogtreecommitdiff
path: root/exefying.bat
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2011-05-21 00:16:39 +0200
committerKevin Chabowski <kevin@kch42.de>2011-05-21 00:16:39 +0200
commita5d315bcdcfcb8f2fca8266201d2738aa1943e42 (patch)
tree576d2721a96dc96fc3616ec124a82c97cd785b3b /exefying.bat
parent948ccc48c33f2edb56dfabe7c59855c7adf589aa (diff)
downloaddotstr_edit-a5d315bcdcfcb8f2fca8266201d2738aa1943e42.tar.gz
dotstr_edit-a5d315bcdcfcb8f2fca8266201d2738aa1943e42.tar.bz2
dotstr_edit-a5d315bcdcfcb8f2fca8266201d2738aa1943e42.zip
Some Windows-related bugfixes and an "exefying" script.
Also added "LICENSE" and "installer.nsi", which builds an Installer for Windows.
Diffstat (limited to 'exefying.bat')
-rw-r--r--exefying.bat20
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