Skip to content

Compute the OS and Python classifiers at build time - #13

Merged
seb5g merged 1 commit into
mainfrom
fix/daqmx-dynamic-classifiers
Nov 4, 2026
Merged

seb5g merged 1 commit into
mainfrom
fix/daqmx-dynamic-classifiers

Conversation

@seb5g

@seb5g seb5g commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Before: pyproject.toml carried static classifiers (including Operating System :: OS Independent and Python 3.8 to 3.11) and a build requirement pymodaq_utils>=0.0.6.

After: the classifiers other than the operating system and Python ones live in a [tool.pymodaq] table, and classifiers is declared dynamic. The operating system classifiers are computed at build time from supported_platforms of the instrument plugins, and the Python ones from requires-python. The build requires pymodaq_utils>=5.3.6.

How: same recipe as the plugin template. hatch_build.py already calls update_metadata_from_toml, so only pyproject.toml changes. Packaging item of #12. Not tested with NI hardware (no code changed).


Generated by Claude Code

Move the static classifiers to [tool.pymodaq], declare classifiers as dynamic
and require pymodaq_utils>=5.3.6 to build.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tdiso1u1ZhikSutj2Qs5Cg
@seb5g
seb5g merged commit 497dd62 into main Nov 4, 2026
0 of 9 checks passed
@seb5g
seb5g deleted the fix/daqmx-dynamic-classifiers branch November 4, 2026 16:16
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.

2 participants