spostato il progetto in spex per usare poetry

This commit is contained in:
2020-09-10 12:35:31 +02:00
parent 69be5ca9de
commit b603581e4f
89 changed files with 111 additions and 28554 deletions

View File

@@ -0,0 +1,18 @@
'''
Created on 10 apr 2020
@author: Emanuele Trabattoni
'''
import os,glob
import subprocess
from bananaSPLIT.scripts.compileUI import updateResources
if __name__ == '__main__':
tsfiles = glob.glob("..\\UserInterface\\resources\\translations\\*.ts")
for ts in tsfiles:
tso = "..\\UserInterface\\resources\\translations\\"+os.path.splitext((os.path.split(ts)[1]))[0]+".qm"
subprocess.run(f'lrelease.exe {ts} -qm {tso}')
os.chdir("..\\UserInterface")
#print(os.getcwd())
#updateResources()
pass