Skip to content

Commit efcdb1e

Browse files
committed
test simplification
1 parent f22ab4d commit efcdb1e

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

src/artisan-linux.spec

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ BINARIES.extend([(os.path.join(yocto_lib_path, fn),'yoctopuce/cdll') for fn in o
1414
phidgets_lib_path = os.path.join(get_package_paths('Phidget22')[1], '.libs')
1515
BINARIES.extend([(os.path.join(phidgets_lib_path, fn),'Phidget22/.libs') for fn in os.listdir(phidgets_lib_path) if fn.endswith('.so')])
1616

17-
# add missing QtWebEngine shared libs
18-
BINARIES.append((os.path.join(get_package_paths('PyQt6')[1], 'Qt6/lib/libQt6QmlMeta.so.6'), 'PyQt6/Qt6/lib'))
19-
BINARIES.append((os.path.join(get_package_paths('PyQt6')[1], 'Qt6/lib/libQt6QmlWorkerScript.so.6'), 'PyQt6/Qt6/lib'))
17+
## add missing QtWebEngine shared libs
18+
#BINARIES.append((os.path.join(get_package_paths('PyQt6')[1], 'Qt6/lib/libQt6QmlMeta.so.6'), 'PyQt6/Qt6/lib'))
19+
#BINARIES.append((os.path.join(get_package_paths('PyQt6')[1], 'Qt6/lib/libQt6QmlWorkerScript.so.6'), 'PyQt6/Qt6/lib'))
2020

2121

2222
path=os.environ['HOME'] + '/artisan-master/src'
@@ -29,9 +29,9 @@ if not os.path.isdir(path):
2929
hiddenimports_list=[
3030
'matplotlib.backends.backend_pdf',
3131
'matplotlib.backends.backend_svg',
32-
'PyQt6.QtPositioning',
33-
'PyQt6.QtWebChannel', ## Win incl., but did not help
34-
'PyQt6.QtWebEngineCore', ## Win incl.
32+
# 'PyQt6.QtPositioning',
33+
# 'PyQt6.QtWebChannel', ## Win incl., but did not help
34+
# 'PyQt6.QtWebEngineCore', ## Win incl.
3535
'babel.numbers' # should not be needed as it got fixed in pyinstaller 6.11
3636
] + collect_submodules('dbus_fast')
3737

@@ -60,8 +60,7 @@ EXCLUDES = [
6060

6161

6262
DATA_FILES = [
63-
# (os.path.join(get_package_paths('PyQt6')[1], 'Qt6/translations/qtwebengine_locales/en-US.pak'), 'locales')
64-
(os.path.join(get_package_paths('PyQt6')[1], 'Qt6/translations/qtwebengine_locales/en-US.pak'), 'PyQt6/Qt6/translations/qtwebengine_locale')
63+
(os.path.join(get_package_paths('PyQt6')[1], 'Qt6/translations/qtwebengine_locales/en-US.pak'), 'PyQt6/Qt6/translations/qtwebengine_locales')
6564
]
6665

6766
a = Analysis(['artisan.py'],

0 commit comments

Comments
 (0)