Skip to content

[WebGPU plugin EP] Package improvements#28525

Open
edgchen1 wants to merge 5 commits into
mainfrom
edgchen1/webgpu_plugin_ep_package_update
Open

[WebGPU plugin EP] Package improvements#28525
edgchen1 wants to merge 5 commits into
mainfrom
edgchen1/webgpu_plugin_ep_package_update

Conversation

@edgchen1
Copy link
Copy Markdown
Contributor

@edgchen1 edgchen1 commented May 15, 2026

Description

  • Add copyright headers to source files
  • Enrich Python and NuGet package metadata
  • Add ORT license files to packages
  • Clean up readme files

Motivation and Context

WebGPU plugin EP packaging improvements.

Note: Similar updates can be considered for the CUDA plugin EP, but this PR is scoped to just the WebGPU EP for ease of cherry-picking into the WebGPU plugin EP release branch.

edgchen1 added 4 commits May 12, 2026 12:23
Expand the [project] table in pyproject.toml.in with author, keywords, classifiers, and a [project.urls] table so the published wheel mirrors the metadata exposed by the main onnxruntime package on PyPI.

Switch to the PEP 639 license declaration (license = "MIT" plus license-files) and bundle LICENSE and ThirdPartyNotices.txt from the repo root by staging them next to setup.py during the wheel build. This requires setuptools >= 77, so bump the floor in both pyproject.toml.in and requirements-build-wheel.txt.

Classifiers omit specific Python minor versions because the wheel is tagged py3-none-{platform}; requires-python conveys the floor.
Switch the .nupkg license declaration from a bare PackageLicenseExpression to PackageLicenseFile, and bundle LICENSE and ThirdPartyNotices.txt at the package root so the actual license text and third-party notices ship with the package (parity with the Python wheel and the main ONNX Runtime NuGet).

Add PackageProjectUrl pointing at https://onnxruntime.ai so nuget.org surfaces a project home-page link distinct from the source repository URL.

pack_nuget.py now copies LICENSE and ThirdPartyNotices.txt from the repo root into the staging directory before dotnet pack so the staged csproj can reference them by simple relative paths.
@edgchen1 edgchen1 requested review from guschmue and tianleiwu May 15, 2026 18:29
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