-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup_cx.py
49 lines (44 loc) · 1.84 KB
/
setup_cx.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
43
44
45
46
47
48
49
from cx_Freeze import setup, Executable
# Dependencies are automatically detected, but it might need
# fine tuning.
build_options = {'packages': ['pysoundanalyser'],
'excludes': ['tkinter',
'PyQt5',
'PyQt5.QtCore',
'PyQt5.QtGui',
'PyQt5.QtWidgets',
'PyQt5.QtQml',
'PyQt5.QtBluetooth',
'PyQt5.QtQuickWidgets',
'PyQt5.QtSensors',
'PyQt5.QtSerialPort',
'PyQt6.QtSql',
'PyQt6.QtQml',
'PyQt6.QtBluetooth',
'PyQt6.QtQuickWidgets',
'PyQt6.QtSensors',
'PyQt6.QtSerialPort',
'PyQt6.QtSql',
'PyQt6.QtQuick',
'PyQt6.QtQuick3D',
'PyQt6.QtQuickWidgets',
'PyQt6.QtDesigner',
'PyQt6.QtPdf',
'PyQt6.QtPdfWidgets',
'PyQt6.QtSensors',
'PyQt6.QtTest',
'PyQt6.QtTextToSpeech',
]}
import sys
base = 'Win32GUI' if sys.platform=='win32' else None
executables = [
Executable('pysoundanalyser\\__main__.py',
base=base,
target_name = 'pysoundanalyser',
icon='icons/johnny_automatic_crashing_wave.ico')
]
setup(name='pysoundanalyser',
version="0.3.7",
description = '',
options = {'build_exe': build_options},
executables = executables)