aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2024-03-02 07:58:13 +0100
committerPapoteur <papoteur@mageia.org>2024-03-02 07:58:13 +0100
commitfab80fffac7e9c839f76d00e9b44d8d751cbc26c (patch)
treef1f925ab5033f7bce569f63a8830260b46e6b20e
parent8a2270937307b45a783b927ef2384b542698f229 (diff)
downloadMageiaSync-fab80fffac7e9c839f76d00e9b44d8d751cbc26c.tar
MageiaSync-fab80fffac7e9c839f76d00e9b44d8d751cbc26c.tar.gz
MageiaSync-fab80fffac7e9c839f76d00e9b44d8d751cbc26c.tar.bz2
MageiaSync-fab80fffac7e9c839f76d00e9b44d8d751cbc26c.tar.xz
MageiaSync-fab80fffac7e9c839f76d00e9b44d8d751cbc26c.zip
Adapt setup.py to PyQt6
-rw-r--r--setup.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 8575dea..916772d 100644
--- a/setup.py
+++ b/setup.py
@@ -5,9 +5,8 @@ import os, glob
LOCALE_DIR= '/usr/share/mageiasync/translations'
class BuildQm(build):
- os.system('pylupdate5 mageiaSync.pro')
for ts in glob.glob('translations/*.ts'):
- os.system('lrelease {0} -qm {1}'.format(ts, (ts[:-2]+'qm')))
+ os.system('lrelease-qt6 {0} -qm {1}'.format(ts, (ts[:-2]+'qm')))
data_files = [("share/applications/", ["share/applications/mageiasync.desktop"]),
("share/icons/hicolor/scalable/apps/", ["share/icons/mageiasync.svg"]),