site: use importlib instead of adhoc file searches
This change replaces various cases in which installed distribution and file look-ups used path searches with importlib.metadata backed look-ups. This fixes issues with `dist-info` lookup for PEP610 implementation as well as `.pth` file look-up and `dist-info` removal.
Showing
Please
register
or
sign in
to comment