Skip to content

Add inline metadata to example scripts#20

Open
jn64 wants to merge 1 commit intonurpax:mainfrom
jn64:example-deps
Open

Add inline metadata to example scripts#20
jn64 wants to merge 1 commit intonurpax:mainfrom
jn64:example-deps

Conversation

@jn64
Copy link
Copy Markdown

@jn64 jn64 commented Sep 12, 2025

This allows running a script without prior setup, e.g. for users who want to quickly demo slimgui without setting up slimgui dev environment.

Example usage with uv which supports this metadata:

uv run --script example/app.py

See PEP 723

This allows running a script without prior setup, e.g. for users who want to
quickly demo slimgui without setting up slimgui dev environment.

Example usage with uv which supports this metadata:
    uv run --script example/app.py

See PEP 723
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