-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
24 lines (20 loc) · 888 Bytes
/
Copy pathsetup.py
File metadata and controls
24 lines (20 loc) · 888 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from cx_Freeze import setup, Executable
files = ['radio_tower.ico', 'radio_tower.png', 'geohash.json']
build_options = {'packages': [], 'excludes': [], 'include_files': files}
import sys
base = 'Win32GUI' if sys.platform=='win32' else None
base_c = 'Console'
executables = [
Executable('main.py', base=base, target_name = 'FarFlux', icon='radio_tower.ico',
shortcut_dir="DesktopFolder", shortcut_name="FarFlux"),
Executable('upload.py', base=base_c, target_name = 'FarFlux_upload')
]
import os
setup(name='FarFlux',
version = '1.0',
author = 'HB9VQQ',
description = "Uploads valid points from Faros latest beacon log file to InfluxDB using settings set using the FarFlux.",
options = {'build_exe': build_options,
'bdist_msi': {
'install_icon': 'radio_tower.ico'}},
executables = executables)