Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
RDM Infrastructure
irods-clients
Commits
5d736a80
Commit
5d736a80
authored
Nov 08, 2021
by
Daalen, Tim van
Browse files
different build method and cleanup
parent
0b7f6f5a
Changes
3
Hide whitespace changes
Inline
Side-by-side
gui/ui_files/icons.py
deleted
100644 → 0
View file @
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.
gui/ui_files/tabUpDownload.py
View file @
5d736a80
...
...
@@ -133,7 +133,6 @@ class Ui_tabUpDownload(object):
self
.
UploadButton
.
setMinimumSize
(
QtCore
.
QSize
(
100
,
0
))
self
.
UploadButton
.
setText
(
""
)
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
.
setIcon
(
icon
)
self
.
UploadButton
.
setIconSize
(
QtCore
.
QSize
(
50
,
50
))
...
...
pyinstaller_script.py
View file @
5d736a80
...
...
@@ -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
}
irods-iBridgesGui.py"
)
run_cmd
(
f
"
{
venv_activate
}
{
cmd_sep
}
pyinstaller --clean
{
getcwd
()
}{
sep
}
irods-iBridgesGui.py"
)
dist_folder
=
f
"
{
getcwd
()
}{
sep
}
dist"
...
...
@@ -104,8 +106,7 @@ if __name__ == "__main__":
replace_folder
(
icons_folder
,
dist_icons
)
replace_folder
(
rules_folder
,
dist_rules
)
confirmation
=
input
(
"Do you want to cleanup the build environment (Y/N): "
)
if
confirmation
[
0
].
upper
()
==
'Y'
:
#remove_pyui_files(ui_folder)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment