blob: b6bfdb9d4ad1f1512cafe60c90da7bec82ccca89 (
plain)
1
2
3
4
5
6
7
8
9
10
|
# Install the lib:
pip install --target=.\src\lib --upgrade -r .\plugin-requirements.txt | Out-Null
# Convert ui files:
Get-ChildItem -Recurse -File -Include "*.ui" | ForEach-Object {
pyuic5 $_ -o ([io.path]::ChangeExtension($_.FullName, "py"))
}
# Generate the .ts file:
pylupdate5 (Get-ChildItem src -Exclude lib | Get-ChildItem -Recurse -File -Include "*.py") -ts installer_wizard_en.ts
|