-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup_convert_gui_macos.py
42 lines (36 loc) · 1.06 KB
/
setup_convert_gui_macos.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
# coding: utf-8
import appinfo
from cx_Freeze import setup, Executable
APP_NAME = "XLS2ExpressionMap"
executable = APP_NAME
options = {
"include_files":[
( "LICENSE", "LICENSE" ),
( "NOTICE", "NOTICE" ),
( "convertgui.kv", "convertgui.kv" ),
( "resources/dropicon.png", "resources/dropicon.png" ),
],
"packages": [ "os", "kivy" ],
"excludes": [ "tkinter" ]
}
options_bdist_mac = {
"custom_info_plist": "macos/Info.plist",
"bundle_name": APP_NAME,
"iconfile": "macos/icon.icns",
}
exe = Executable(
script = 'convert_gui_main.py',
base = None,
copyright = appinfo.AUTHOR,
targetName = executable,
)
setup( name = APP_NAME,
version = appinfo.VERSION,
author = appinfo.AUTHOR,
description = 'Excel file(*.xlsx) to Cubase Expression Map file converter',
url = appinfo.URL,
options = {
"build_exe": options,
"bdist_mac": options_bdist_mac,
},
executables = [exe] )