File: check_qt_import.sh

package info (click to toggle)
python-mne 1.3.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 100,172 kB
  • sloc: python: 166,349; pascal: 3,602; javascript: 1,472; sh: 334; makefile: 236
file content (8 lines) | stat: -rwxr-xr-x 252 bytes parent folder | download
1
2
3
4
5
6
7
8
#!/bin/bash -ef

if [[ "$1" == "" ]]; then
    echo "Qt library must be provided as first argument"
    exit 1
fi
LD_DEBUG=libs python -c "from $1.QtWidgets import QApplication, QWidget; app = QApplication([])"
echo "Python-Qt binding $1 is available"