Skip to content

Add uv inline script dependency metadata (PEP 723) - #2

Merged
dave3d merged 2 commits into
mainfrom
add-uv-script-metadata
Jun 30, 2026
Merged

dave3d merged 2 commits into
mainfrom
add-uv-script-metadata

Conversation

@dave3d

@dave3d dave3d commented Jun 30, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds PEP 723 inline script metadata blocks (uv-compatible) to the repo’s standalone Python utilities so they can be run with uv run while automatically resolving their Python/runtime dependencies.

Changes:

  • Added # /// script metadata blocks specifying requires-python and dependencies for each utility.
  • Declared per-script third-party dependencies (e.g., trimesh, pymeshlab, pyrender, numpy, matplotlib) inline at the top of the scripts.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
mesh2glb.py Adds PEP 723 metadata for running the mesh→GLB converter via uv with pymeshlab/trimesh.
glbutils.py Adds PEP 723 metadata for uv to provision trimesh when using this helper module as a script.
glbthumb.py Adds PEP 723 metadata listing rendering/plotting deps (pyrender, numpy, matplotlib, trimesh).
glbquery.py Adds PEP 723 metadata for uv execution with trimesh.
glb2mesh.py Adds PEP 723 metadata for running the GLB→mesh converter via uv with pymeshlab/trimesh.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dave3d
dave3d merged commit b079051 into main Jun 30, 2026
5 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.

2 participants