-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
58 lines (51 loc) · 1.31 KB
/
setup.py
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# GCResizer Build script.
# Copyright (C) 2022 mazen428, mohamedSulaimanAlmarzooqi
# This program is free software:
# you can redistribute it and/or modify it under the terms of the GNU General Public License 3.0 or later
# See the file LICENSE for more details.
import shutil
shutil.rmtree("dist", True)
import sys
from distutils.core import setup
import py2exe
sys.argv.append("py2exe")
setup(
py_modules=[],
windows=["GCResizer.py"],
zipfile=None,
options={
"py2exe": {
"bundle_files": 2,
"includes": ["imp"],
"compressed": False,
"excludes": [
"_ssl",
"http",
"html",
"pyreadline",
"difflib",
"tcl",
"asyncio",
"urllib",
"socket",
"_socket",
"ssl",
"wx.html",
"wx.html2",
"numpy",
"setuptools",
"distutils",
"optparse",
"pickle",
"calendar",
"pdb",
"unittest",
"test",
"doctest",
"tkinter",
"email",
],
"optimize": 2,
}
},
)