-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
22 lines (19 loc) · 864 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
from cx_Freeze import setup, Executable
from sys import platform, path
base = 'Win32GUI' if platform == 'win32' else None
setup(
name='Pinger',
options={
'build_exe': {
'path': path + ['pinger'],
'packages': ['colors', 'ping', 'create_window_and_element_keys',
'ping_elements', 'restore_elements', 'PySimpleGUI'],
'include_files': [('pinger/data/icon.ico', 'data/icon.ico'),
('pinger/data/data.ini', 'data/data.ini'),
('pinger/data/translation.ini', 'data/translation.ini')],
},
},
version='1.0.0',
description='This is simple software what ping all provided ip addresses or hostnames.',
executables=[Executable('pinger/__main__.py', target_name='pinger', base=base, icon='pinger/data/icon.ico',)]
)