Skip to content

build and publish a wheel #565

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

Open
dimbleby opened this issue Apr 7, 2025 · 2 comments
Open

build and publish a wheel #565

dimbleby opened this issue Apr 7, 2025 · 2 comments

Comments

@dimbleby
Copy link

dimbleby commented Apr 7, 2025

I notice that this package publishes only source distributions, so that every user has to build the wheel themselves. Better for package owners to build and publish wheels once and for all.

I did not find a workflow in this repository for publishing or I would have submitted a pull request. If you are doing this manually a typical workflow would be something like

python -m pip install build twine
python -m build
twine upload dist/*
@jacobgil
Copy link
Owner

jacobgil commented Apr 8, 2025

Hi, can you please clarify what this means.
I am already using twine to build the wheel and upload to pypi.
Do you mean something else ?

@dimbleby
Copy link
Author

dimbleby commented Apr 8, 2025

You are not publishing a wheel, you are publishing only a source distribution - see https://pypi.org/project/grad-cam/#files.

The way installation of python packages works is always from wheel: so currently every user install is first building a wheel from this source distribution and then installing that wheel.

Better for package maintainers to build and publish the wheel, then users install it directly.

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

2 participants