Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
irods-clients
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RDM Infrastructure
irods-clients
Commits
5d736a80
Commit
5d736a80
authored
3 years ago
by
Daalen, Tim van
Browse files
Options
Downloads
Patches
Plain Diff
different build method and cleanup
parent
0b7f6f5a
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
gui/ui_files/icons.py
+0
-10
0 additions, 10 deletions
gui/ui_files/icons.py
gui/ui_files/tabUpDownload.py
+0
-1
0 additions, 1 deletion
gui/ui_files/tabUpDownload.py
pyinstaller_script.py
+4
-3
4 additions, 3 deletions
pyinstaller_script.py
with
4 additions
and
14 deletions
gui/ui_files/icons.py
deleted
100644 → 0
+
0
−
10
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.
This diff is collapsed.
Click to expand it.
gui/ui_files/tabUpDownload.py
+
0
−
1
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
))
...
...
This diff is collapsed.
Click to expand it.
pyinstaller_script.py
+
4
−
3
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)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment