Skip to content

feat: auto-discover binaries from upstream release archive#19

Merged
fedorov merged 4 commits intomainfrom
auto-discover-binaries
Apr 2, 2026
Merged

feat: auto-discover binaries from upstream release archive#19
fedorov merged 4 commits intomainfrom
auto-discover-binaries

Conversation

@fedorov
Copy link
Copy Markdown
Member

@fedorov fedorov commented Apr 2, 2026

Introduce binaries.txt as the single source of truth for the list of dcmqi executables. CMakeLists.txt now reads it via file(STRINGS), init.py discovers installed binaries dynamically at import time, and tests parametrize from the file. The update-dcmqi workflow extracts binary names from the Linux archive and updates binaries.txt and pyproject.toml [project.scripts] automatically when a new release is detected.

fedorov and others added 4 commits April 2, 2026 17:07
Introduce binaries.txt as the single source of truth for the list of
dcmqi executables. CMakeLists.txt now reads it via file(STRINGS),
__init__.py discovers installed binaries dynamically at import time,
and tests parametrize from the file. The update-dcmqi workflow
extracts binary names from the Linux archive and updates binaries.txt
and pyproject.toml [project.scripts] automatically when a new release
is detected.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Fix YAML-invalid heredoc in update-dcmqi.yml by collapsing Python
  script to a single-line python3 -c invocation
- Add noqa: PLE0604 for dynamic __all__ in __init__.py
- Add return type annotation to _make_wrapper
- Apply ruff-format fix

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@fedorov fedorov merged commit ebdab85 into main Apr 2, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant