Commit 5d736a80 authored by Daalen, Tim van's avatar Daalen, Tim van
Browse files

different build method and cleanup

parent 0b7f6f5a
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'D:\irods-clientsb\gui\ui_files\icons'
# Created by: PyQt5 UI code generator 5.15.4
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
......@@ -133,7 +133,6 @@ class Ui_tabUpDownload(object):
self.UploadButton.setMinimumSize(QtCore.QSize(100, 0))
icon = QtGui.QIcon()
print(dirname(realpath(argv[0])) + "/icons/arrow-right.png")
icon.addPixmap(QtGui.QPixmap(dirname(realpath(argv[0])) + "/icons/arrow-right.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.UploadButton.setIconSize(QtCore.QSize(50, 50))
......@@ -9,6 +9,8 @@ from platform import system
Pipeline to create pyinstaller executables.
not using the --onefile options because than windows has to upack the exe before it can run.
This makes it rougly 30 seconds slower than the current variant.
# Run command in shell, stdout is printed to the screen
......@@ -94,7 +96,7 @@ if __name__ == "__main__":
run_cmd(f"{venv_activate} {cmd_sep} pip install -r requirements.txt")
# Step 3, Activate venv and tun pyinstaller
run_cmd(f"{venv_activate} {cmd_sep} pyinstaller -F --clean {getcwd()}{sep}")
run_cmd(f"{venv_activate} {cmd_sep} pyinstaller --clean {getcwd()}{sep}")
dist_folder = f"{getcwd()}{sep}dist"
......@@ -105,7 +107,6 @@ if __name__ == "__main__":
replace_folder(rules_folder, dist_rules)
confirmation = input("Do you want to cleanup the build environment (Y/N): ")
if confirmation[0].upper() == 'Y':
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment