e54f3858ef
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/python-qt5#858f2cf54374311e718275859cf6f3fe58a0b9d3
8 lines
251 B
Bash
8 lines
251 B
Bash
#!/bin/sh
|
|
@PYTHON3@ -Ic "import PyQt5.pyrcc_main" &> /dev/null
|
|
if [ $? -eq 0 ]; then
|
|
exec @PYTHON3@ -Im PyQt5.pyrcc_main ${1+"$@"}
|
|
else
|
|
exec @PYTHON2@ -c "import sys; del sys.path[0]; import PyQt5.pyrcc_main; PyQt5.pyrcc_main.main()" ${1+"$@"}
|
|
fi
|