Skip to content
Commit b7aa9c2a authored by Arun Babu Neelicattu's avatar Arun Babu Neelicattu
Browse files

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.
parent 658f6410
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment