Skip to content

Commit

Permalink
Fixed SimpleITK dtype issue, bundle running locally.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbouget committed Aug 21, 2023
1 parent 1bec6df commit b8ac3c6
Show file tree
Hide file tree
Showing 9 changed files with 112 additions and 111 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build macOS

on:
push:
branches: [master]
branches: [master,update]
pull_request:
branches:
- '*'
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Build software
run: |
pip install pyinstaller==5.0
pip install pyinstaller==5.3
mkdir tmp_dependencies
pyinstaller --noconfirm --clean assets/main.spec
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_macos_m1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
run: |
cd ${{github.workspace}}
source tmp/venv/bin/activate
pip3 install pyinstaller
pip3 install pyinstaller==5.3
pip3 install --upgrade PyInstaller pyinstaller-hooks-contrib
mkdir tmp_dependencies
pyinstaller --noconfirm --clean assets/main_arm.spec
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Build software
run: |
pip install pyinstaller==5.0
pip install pyinstaller==5.3
mkdir tmp_dependencies
pyinstaller --noconfirm --clean assets/main.spec
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build Windows

on:
push:
branches: [master]
branches: [master,update]
pull_request:
branches:
- '*'
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Build software
run: |
pip install pyinstaller==5.0
pip install pyinstaller==5.3
mkdir tmp_dependencies
pyinstaller --noconfirm --clean assets/main.spec
Expand Down
2 changes: 1 addition & 1 deletion assets/Raidionics_ubuntu/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: Raidionics
Version: 1.2.0
Version: 1.2.1
Architecture: i386
Maintainer: David Bouget <[email protected]>
Description: Raidionics—Reporting and Data System.
Expand Down
2 changes: 1 addition & 1 deletion assets/main.spec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ print("PLATFORM:", sys.platform)
# fix hidden imports
hidden_imports = loadtxt(cwd + "/assets/requirements.txt", comments="#", delimiter=",", unpack=False, dtype=str)
hidden_imports = [x.split("=")[0] for x in hidden_imports] + ["ants", "sklearn", "scikit-learn",
"statsmodels", "gevent", "distutils", "PySide6", "gdown", "raidionicsrads", "raidionicsseg"]
"statsmodels", "gevent", "distutils", "PySide6", "gdown", "pydicom", "rt_utils", "raidionicsrads", "raidionicsseg"]
hidden_imports = [x.lower() for x in hidden_imports]

# copy dependencies and images, remove if folder already exists
Expand Down
2 changes: 1 addition & 1 deletion assets/main_arm.spec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ print("PLATFORM:", sys.platform)

# fix hidden imports
hidden_imports = loadtxt(cwd + "/assets/requirements.txt", comments="#", delimiter=",", unpack=False, dtype=str)
hidden_imports = [x.split("=")[0] for x in hidden_imports] + ["medpy", "sklearn", "scikit-learn",
hidden_imports = [x.split("=")[0] for x in hidden_imports] + ["sklearn", "scikit-learn",
"statsmodels", "gevent", "distutils", "PySide6", "gdown", "pydicom", "rt_utils", "raidionicsrads", "raidionicsseg"]
hidden_imports = [x.lower() for x in hidden_imports]

Expand Down
2 changes: 1 addition & 1 deletion assets/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ gdown==4.7.1
names==0.3.0
PySide6==6.2.4
plotly==5.8.0
#rt_utils==1.2.7
rt_utils==1.2.7
203 changes: 102 additions & 101 deletions utils/data_structures/PatientParametersStructure.py

Large diffs are not rendered by default.

0 comments on commit b8ac3c6

Please sign in to comment.