-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
42 lines (37 loc) · 881 Bytes
/
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
from cx_Freeze import setup, Executable
output_directory = "trackenn"
build_options = {
'packages': [
'core',
'flask',
'flask_cors',
'sqlalchemy',
'sqlalchemy.dialects.sqlite',
'pandasql',
'pandas',
'pyarrow',
'sqlite3',
'encodings',
'requests',
'yaml',
'termcolor',
'coloredlogs',
],
'include_files': [
('front', 'front'),
('data', 'data'),
'config.yaml',
],
'excludes': ['tkinter'],
'include_msvcr': True,
'build_exe': output_directory,
}
base = 'console'
executables = [
Executable('app.py', base=base, target_name = 'trackenn')
]
setup(name='trackenn',
version = '0.0.5',
description = 'Blockchain traceability',
options = {'build_exe': build_options},
executables = executables)