We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b5e0e2 commit e377551Copy full SHA for e377551
lib/pip.js
@@ -610,10 +610,9 @@ function installAllRequirements() {
610
!fse.existsSync(symlinkPath) &&
611
reqsInstalledAt != symlinkPath
612
) {
613
- // Windows can't symlink so we have to copy on Windows,
614
- // it's not as fast, but at least it works
+ // Windows can't symlink so we have to use junction on Windows
615
if (process.platform == 'win32') {
616
- fse.copySync(reqsInstalledAt, symlinkPath);
+ fse.symlink(reqsInstalledAt, symlinkPath, 'junction');
617
} else {
618
fse.symlink(reqsInstalledAt, symlinkPath);
619
}
0 commit comments