As per Building distributions and drawing the Platypus, I figured I would kick off a discussion to figure out where any gaps exist for downloading and installing an appropriate wheel from PyPI. I’m thinking of the case where you know the name of the project and version you want already, so this is for selecting the correct wheel from those available on PyPI, downloading it, and then installing it.
Here is the outline of steps that I’m aware of to accomplish this feature/story and whether something exists as a spec and/or package:
- Check if package is already installed (spec /
- Check local wheel cache (? / ?; how pip does it, XDG Base Directory spec)
- Choose appropriate file from PyPI / index
- Download the wheel
- Cache the wheel locally (? / ?; see local cache check for potential details)
- Install the wheel