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 · 1 comment · May be fixed by #70
Open

wheel2deb only generates the first entrypoint #61

eichin opened this issue Dec 6, 2023 · 1 comment · May be fixed by #70

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

@kif
Copy link

kif commented Dec 4, 2024

I confirm this issue bothers me as well with different packages (freesas for example)

kif added a commit to kif/wheel2deb that referenced this issue Dec 4, 2024
@kif kif linked a pull request Dec 4, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants