Skip to content

Installing CLI with setuptools style "scripts" vs "console_scripts". #1023

@grabear

Description

@grabear
  • I have searched the issues of this repo and believe that this is not a duplicate.
    This is definitely a duplicate, but the Feature Request is different.
  • I have searched the documentation and believe that my question is not covered.

Feature Request

It would be nice to install files as command line scripts vs installing modules as command line console_scripts.

The current ability of poetry to include "scripts" seems slightly misleading according to the setuptools documentation. I could be wrong, but it seems like the [tools.poetry.scripts] toml keyword should read more like [tools.poetry.console_scripts] or [tools.poetry.entry_points].

So I would like to request some clarity around this terminology in the documentation, as well as the implementation of setuptools style scripts.

I believe #241 (comment) addresses this as well. An associated PR is also open in #304

cc: @ojii

Thanks to any contributors to this project. It's an amazing tools that I'm excited to continue using.

Cheers,
@grabear

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureFeature requests/implementations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions