forked from pypa/virtualenv
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dereference symlinks more thoroughly in copyfile
copyfile was broken for symlinks that pointed to relative paths, and for symlinks that pointed to further symlinks (which meant that virtualenv failed to work in some cases when the Python executable it found was a symlink, e.g. when Python had been installed using stow or homebrew; issue pypa#268). Make it follow symlinks until it finds an actual file to copy.
- Loading branch information
Showing
3 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters