-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
43 lines (39 loc) · 1.19 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
#####################################
# steganography.py version 1.0 #
# Nick Klose | [email protected] #
# py2exe setup script #
#####################################
from distutils.core import setup
import py2exe, os, sys
root_dir = os.path.dirname(os.path.realpath("__file__"))
main_file = os.path.join(root_dir, "steganography.py")
exe_name = "Steganography"
incl_files = [os.path.join(root_dir, "sample.jpg"),
os.path.join(root_dir, "README.md"),
os.path.join(root_dir, "LICENSE")]
excl_dlls = ["libiomp5md.dll", "MSVCP60.DLL", "MSVCP90.DLL", "MSVCP100.DLL"]
windowsSettings = [{"dest_base": exe_name, "script": main_file}]
incl_packages = ["sip"]
options = {
'py2exe': {
"dist_dir": "bin",
"includes": incl_packages,
"dll_excludes": excl_dlls,
"bundle_files": 1,
"compressed": 2,
"optimize": 2,
"xref": False,
"skip_archive": False,
"ascii": False,
}
}
setup(
windows = windowsSettings,
author = "Nick Klose",
version = "1.0",
description = "Nick's Image Steganography",
name = "Nick's Image Steganography",
options = options,
data_files = incl_files,
zipfile = None
)