Fix git installed package detection
A package installed from git is sometimes mistaken as a standard package since it has a `.dist-info` directory. This change ensures that the pth file sources are also taken into consideration when determining if a package is git sourced. Additionally, this change ensures that a pth file is searched for in both platlib and purelib site directories.
Showing
Please
register
or
sign in
to comment