Skip to content

CI: copy central LICENSE into package directories before build - #609

Open
paul-gerber-svg wants to merge 2 commits into
eclipse-basyx:developfrom
rwth-iat:add-license-to-source-dis
Open

CI: copy central LICENSE into package directories before build#609
paul-gerber-svg wants to merge 2 commits into
eclipse-basyx:developfrom
rwth-iat:add-license-to-source-dis

Conversation

@paul-gerber-svg

@paul-gerber-svg paul-gerber-svg commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Previously, the python build backend failed to include the LICENSE file
in sdist and wheel distributions because build processes run isolated
within subpackage directories (./sdk and ./compliance_tool) without
access to the root LICENSE file.

Now, the CI workflows (pr.yml and release.yml) copy the root LICENSE file
into the respective package directories immediately before executing
python -m build, ensuring correct metadata inclusion for PyPI releases.

Fixes #462

Previously, the python build backend failed to include the `LICENSE` file
in sdist and wheel distributions because build processes run isolated
within subpackage directories (`./sdk` and `./compliance_tool`) without
access to the root `LICENSE` file.

Now, the CI workflows (`pr.yml` and `release.yml`) copy the root `LICENSE` file
into the respective package directories immediately before executing
`python -m build`, ensuring correct metadata inclusion for PyPI releases.

Fixes eclipse-basyx#562
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