Hi,
It would be useful to allow importing packages from .whl files, which are the native format used by pip (and are just customly-named zip files). This way, one could simply use pip download to get the wheel and use it directly without installation.
I'm not totally sure that the whl-internal layout always reflects what gets installed in site-packages, but at least when testing with numpy and scipy, renaming the wheels to .zip made them correctly importable by zimport. And in my (limited) experience, numpy is among the most peculiar packages when it comes to installing and importing, so if it works for it, it will probably work for most.
Hi,
It would be useful to allow importing packages from
.whlfiles, which are the native format used bypip(and are just customly-named zip files). This way, one could simply usepip downloadto get the wheel and use it directly without installation.I'm not totally sure that the whl-internal layout always reflects what gets installed in
site-packages, but at least when testing withnumpyandscipy, renaming the wheels to.zipmade them correctly importable byzimport. And in my (limited) experience,numpyis among the most peculiar packages when it comes to installing and importing, so if it works for it, it will probably work for most.