[Python] Specifying command line scripts in pyproject.toml

Discussão em 'Python' iniciado por Stack, Maio 8, 2025.

  1. Stack

    Stack Membro Participativo

    I'm trying to add a pyproject.toml to a project that's been using setup.py in order to enable support by pipx. I'd like to specify the command line scripts the project includes in pyproject.toml, but all the guides I can find give instructions for use with poetry, which I am not using.

    I also don't want to specify entry points to modules - I already have working command line scripts and just want to specify those.

    Is there a proper place in pyproject.toml to specify command line scripts?

    Not sure it matters, but the package in question is [cutlet].(https://github.com/polm/cutlet).

    Continue reading...

Compartilhe esta Página