Skip to content

Commit

Permalink
build: Fix not bundling Font Awesome 6 Free-Solid-900.otf file to e…
Browse files Browse the repository at this point in the history
…xecutable (#1114)

fix PARTSEG-TM

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Integrated new data file collection for "fonticon_fa6" to enhance font
icon support.
- Added `LabelChoose` UI component for improved label selection
functionality.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
Czaki authored Jul 2, 2024
1 parent 4dfd50a commit ecf008e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions launcher.spec
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ a = Analysis(
+ collect_data_files("napari")
+ collect_data_files("freetype")
+ collect_data_files("skimage")
+ collect_data_files("fonticon_fa6")
+ collect_data_files("jsonschema_specifications")
+ collect_data_files("PartSegCore-compiled-backend")
+ pyzmq_data
Expand Down
4 changes: 4 additions & 0 deletions package/PartSeg/launcher_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def _test_imports(): # pragma: no cover
from PartSeg._roi_analysis.main_window import MainWindow as AnalysisMain
from PartSeg._roi_mask.main_window import MainWindow as MaskMain
from PartSeg.common_backend.base_argparser import _setup_sentry
from PartSeg.common_gui.label_create import LabelChoose
from PartSeg.plugins import napari_widgets
from PartSegCore import napari_plugins

Expand All @@ -46,6 +47,9 @@ def _test_imports(): # pragma: no cover
w2 = MaskMain("test")
w3 = MainWindow("test")
console = QtConsole(napari.Viewer())
label = LabelChoose(w1.settings)
label.refresh()
del label
del w1
del w2
del w3
Expand Down

0 comments on commit ecf008e

Please sign in to comment.