Commit 3903d1a
fix(bzlmod): Fixing Windows Python Interpreter symlink issues (#1265)
When using Windows you cannot run the symlink directly.
Because of how symlinks work in Windows we need to path realpath resolve
the link.
Unlike Linux and OSX we cannot execute the Python symlink directly.
Windows throws an error "-1073741515", when we execute the symlink
directory. This error means that the Python binary cannot find dlls.
This is because the symlink that we create is not in the same folder as
the dlls.
---------
Co-authored-by: Richard Levasseur <[email protected]>1 parent 68db955 commit 3903d1a
1 file changed
+13
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
75 | | - | |
76 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
77 | 87 | | |
78 | 88 | | |
79 | 89 | | |
| |||
670 | 680 | | |
671 | 681 | | |
672 | 682 | | |
673 | | - | |
674 | 683 | | |
675 | 684 | | |
676 | 685 | | |
| |||
699 | 708 | | |
700 | 709 | | |
701 | 710 | | |
702 | | - | |
| 711 | + | |
703 | 712 | | |
704 | 713 | | |
705 | 714 | | |
| |||
0 commit comments