Éric Araujo added the comment:
To summarize the high-level API needed: install from an index (argument is a
version requirement as string), install archive file, install from directory
(containing setup.cfg or setup.py).
When #8668 is implemented, an “editable” option will be nice too. (Need
New submission from Alexis Metaireau :
The "packaging.install" module doesn't have a clear API defined and it's doing
a lot of indirections between all the functions to get metadata, fetch the
dependencies and install what's need to be installed.
We might be able to come with a better solution