-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·26 lines (22 loc) · 827 Bytes
/
setup.py
File metadata and controls
executable file
·26 lines (22 loc) · 827 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
25
26
"""A distutils script to build DrawTime on Windows.
Build into an exe with:
python3 setup.py build
Build into an installer with:
python3 setup.py bdist_msi
"""
from cx_Freeze import setup, Executable
if __name__ == '__main__':
exe = Executable(script='__main__.pyw',
base='Win32GUI',
targetName='DrawTime.exe',
icon='data/drawtime.ico',
copyDependentFiles=True,
shortcutDir='ProgramMenuFolder',
shortcutName='DrawTime')
setup(name='DrawTime',
version='1.0',
author='Max Shawabkeh',
description='An editor for timing diagrams.',
executables=[exe],
data_files=[('', ['LICENSE', 'README']),
('data', ['data/drawtime.png', 'data/example.dt'])])