Skip to content

Add PEP 723 dependency metadata to example programs #2219

Open

Description

@bkeryan

Problem to Solve

Make it easier to run MI example programs.

Proposed Solution

Add PEP 723 dependency metadata:

# /// script
# dependencies = ["niswitch"]
# ///

Now running the script with pipx run, uv run, etc. will automatically install the dependencies into a venv and activate that venv when running the script.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions