Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wheel2deb only generates the first entrypoint #61

Open
eichin opened this issue Dec 6, 2023 · 0 comments
Open

wheel2deb only generates the first entrypoint #61

eichin opened this issue Dec 6, 2023 · 0 comments

Comments

@eichin
Copy link

eichin commented Dec 6, 2023

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant