-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup_core.py
32 lines (27 loc) · 1.02 KB
/
setup_core.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
# A very simple setup script to create a single executable
#
# hello.py is a very simple "Hello, world" type script which also displays the
# environment in which the script runs
#
# Run the build process by running the command 'python setup.py build'
#
# If everything works well you should find a subdirectory in the build
# subdirectory that contains the files needed to run the script without Python
from cx_Freeze import setup, Executable
executables = [
Executable("core.py"),
Executable("nf.py"),
Executable("rad.py")
]
buildOptions = dict(
compressed = True,
optimize = True,
includes = ["encodings.idna","encodings.ascii","encodings.utf_8", "psycopg2.tz"],
)
setup(
name = "ebs",
version = "0.2",
description = "EBS Core Application",
options = dict(build_exe = buildOptions),
executables = executables)
#python setup_core.py build_exe --create-shared-zip --append-script-to-exe --copy-dependent-files