-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup_cx.py
52 lines (47 loc) · 1.98 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
50
51
52
from cx_Freeze import setup, Executable
# Dependencies are automatically detected, but it might need
# fine tuning.
build_options = {'packages': ['pychoacoustics',
'pychoacoustics.default_experiments',
'pychoacoustics.nnresample',
],
'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('pychoacoustics\\__main__.py',
base=base,
target_name = 'pychoacoustics',
icon='icons/Machovka_Headphones.ico')
]
setup(name='pychoacoustics',
version="0.6.14",
description = '',
options = {'build_exe': build_options},
executables = executables)