summaryrefslogtreecommitdiff
path: root/mkexe.py
blob: a4bdc005a12f4ef41421a45d253b362e1c9e2611 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
		}
	}
)