Skip to content

wheel2deb only generates the first entrypoint #61

@eichin

Description

@eichin

pydist.py in Wheel.entrypoints, line 124:

name, path = config.items("console_scripts")[0]

That should be a loop, because packages can have multiple entry points.

(The example that led me to dig into this was https://pypi.org/project/robotframework/ which has three, robot, rebot, and libdoc - and if you wheel2deb the deb from https://pypi.org/project/robotframework/6.0.2/ in particular, you only end up with libdoc, which is the first entry in the entry_points.txt.)

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