Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Identify the likely root directory to pass to the vcs.get_backend_name instead of simply using dist.location. This is necessary to support version control systems such as git and mercurial where the VCS metadata directory only exists off of the root directory. This is a fix for pypa#713, where "pip freeze" outputs the wrong value for a repository checked out from git if the package puts files in the "src" directory. This change is based on @qwcode's comments at pypa#636 (comment).
- Loading branch information