summaryrefslogtreecommitdiff
path: root/mkexe.py
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2011-10-16 00:22:10 +0200
committerKevin Chabowski <kevin@kch42.de>2011-10-16 00:22:10 +0200
commitcb9a825cc50cb2be2f6851fd8af92aba706a3286 (patch)
tree2da710c0746d838fdedc89553ccbce98470eae47 /mkexe.py
parente41035ecfc0ac515b3c790625ea1c946b878b46e (diff)
downloadmcanimalfix-cb9a825cc50cb2be2f6851fd8af92aba706a3286.tar.gz
mcanimalfix-cb9a825cc50cb2be2f6851fd8af92aba706a3286.tar.bz2
mcanimalfix-cb9a825cc50cb2be2f6851fd8af92aba706a3286.zip
Exefying scripts added and README renamed.
Diffstat (limited to 'mkexe.py')
-rw-r--r--mkexe.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/mkexe.py b/mkexe.py
new file mode 100644
index 0000000..a4bdc00
--- /dev/null
+++ b/mkexe.py
@@ -0,0 +1,26 @@
+from distutils.core import setup
+import py2exe
+
+setup(
+ name="mcanimalfix",
+ version="1",
+ description="Place animals on your Minecraft map after they got lost during the 1.8 update.",
+ windows=[
+ {
+ "script": "animalfix.py"
+ }
+ ],
+ data_files=[("", ["README.markdown"])],
+ options={
+ "py2exe": {
+ "optimize": 2,
+ "excludes": ["pywin", "pywin.debugger", "pywin.debugger.dbgcon",
+ "pywin.dialogs", "pywin.dialogs.list",
+ "Tkconstants","Tkinter","tcl", "_ssl", "doctest", "pdb", "inspect", "wave", "email"
+ ],
+ "includes": ["zlib"], # So the resulting program is able tu unpack the library, even after recompressing.
+ "dll_excludes": ["MSVCP90.dll"],
+ "bundle_files": 2
+ }
+ }
+)