[Python] How do I make a script accessible across all directories within a python monorepo...

Discussão em 'Python' iniciado por Stack, Abril 25, 2025.

  1. Stack

    Stack Membro Participativo

    I have a python monorepo with a top-level pyproject.toml. The monorepo contains a projects directory each with its own python package and pyproject.toml file. Some of these projects define scripts:

    [project.script]
    aaa = "aaa.something:main"


    Within the project directory, I can run the script with uv run aaa. Outside of the project directory the script cannot be found.

    What can I do to make the project script accessible with uv run across the workspace?

    Continue reading...

Compartilhe esta Página