Skip to content

Commit 5153f2b

Browse files
committed
fix build on linux
1 parent 25b0059 commit 5153f2b

File tree

2 files changed

+9718
-9716
lines changed

2 files changed

+9718
-9716
lines changed

src/tools/build.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
from PyQt5.QtCore import QLibraryInfo
55
import subprocess
6+
import sys
7+
import os
68

79
subprocess.call([
810
"pyinstaller",
@@ -13,7 +15,7 @@
1315
"colorsys",
1416
"--windowed",
1517
"--add-data",
16-
r'%s;PyQt5\Qt\translations' % QLibraryInfo.location(QLibraryInfo.TranslationsPath),
18+
os.pathsep.join([QLibraryInfo.location(QLibraryInfo.TranslationsPath), "PyQt5/Qt/translations"]),
1719
"-n",
1820
"turing",
1921
"-y",

0 commit comments

Comments
 (0)