Commit 8baca8e
build,win: find Python in paths with spaces
When looking for Python in the registry, as specified in PEP514,
this was not able to handle installations in a path with spaces,
like Program Files. This ensures the whole path is used, fixing the
issue.
PR-URL: #29236
Reviewed-By: Christian Clauss <cclauss@me.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>1 parent 8877b5f commit 8baca8eCopy full SHA for 8baca8e
File tree
Expand file treeCollapse file tree
1 file changed
+27
-21
lines changedOpen diff view settings
Filter options
- tools/msvs
Expand file treeCollapse file tree
1 file changed
+27
-21
lines changedOpen diff view settings
Collapse file
+27-21Lines changed: 27 additions & 21 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
| 2 | + |
2 | 3 | |
3 | | - |
| 4 | + |
| 5 | + |
4 | 6 | |
5 | 7 | |
6 | 8 | |
| ||
11 | 13 | |
12 | 14 | |
13 | 15 | |
14 | | - |
| 16 | + |
15 | 17 | |
16 | 18 | |
17 | 19 | |
| 20 | + |
18 | 21 | |
19 | 22 | |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
38 | 29 | |
39 | | - |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
40 | 46 | |
41 | 47 | |
42 | 48 | |
|
0 commit comments