-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
26 lines (21 loc) · 771 Bytes
/
Copy pathsetup.py
File metadata and controls
26 lines (21 loc) · 771 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
import sys
from cx_Freeze import setup, Executable
company_name = 'Riajul-IT'
product_name = 'Bangla Calculator'
bdist_msi_options = {
'upgrade_code': '{66620F3A-DC3A-11E2-B341-002219E9B01E}',
'add_to_path': False,
'initial_target_dir': r'[ProgramFilesFolder]\%s\%s' % (company_name, product_name),
# 'includes': ['atexit', 'PySide.QtNetwork'], # <-- this causes error
}
# GUI applications require a different base on Windows
base = 'Win32GUI'
exe = Executable(script='run.py',
base=base,
icon='icon.ico',
)
setup(name=product_name,
version='1.0.0',
description='Developed by Riajul Islam',
executables=[exe],
options={'bdist_msi': bdist_msi_options}, requires=['PyQt5'])