-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
38 lines (33 loc) · 1.2 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
# ==============================================================================
# Author: Thomas Rudge
# Date: 2016-01-01
# File: setup.py
# Description: This is a cx_Freeze setup file for turning the GUI
# file into a frozen standalone application
# ==============================================================================
from cx_Freeze import setup, Executable
includefiles = []
includes = []
excludes = []
packages = ['tkinter', 'sys', 'ctypes', 'csv', 'pickle', 'datetime', 'webbrowser', 'os', 'mt940_50']
build_exe_options = {"include_msvcr": True}
exe = Executable(
script = "mt940_50.py",
initScript = None,
base = "Win32GUI",
targetName = "MTGEN.exe",
copyDependentFiles = True,
compress = True,
appendScriptToExe = True,
appendScriptToLibrary = True,
icon = 'mt9_ico.ico'
)
setup(
name = "MT940/50 Generator",
version = "1.1.0",
description = 'Generates swift MT940 and MT950 cash statements from csv.',
author = "Thomas Edward Rudge",
author_email = "[email protected]",
options = {"build_exe": {"excludes":excludes, "packages":packages, "include_files":includefiles}},
executables = [exe]
)