Commit e5ab4b5
committed
Expand PDM's ~ from USERPROFILE on Windows
PDM expands a `~` in global_project.path or python.install_root with
Python's expanduser, which uses USERPROFILE on Windows and ignores
HOME. Under Git Bash, HOME is an MSYS path, so the relocated global
project or interpreter root was looked for in the wrong place.
Assisted-by: Claude Code:claude-opus-5-51 parent 1a82a49 commit e5ab4b5
2 files changed
Lines changed: 21 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1703 | 1703 | | |
1704 | 1704 | | |
1705 | 1705 | | |
1706 | | - | |
| 1706 | + | |
| 1707 | + | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
1707 | 1715 | | |
1708 | 1716 | | |
1709 | 1717 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
928 | 928 | | |
929 | 929 | | |
930 | 930 | | |
931 | | - | |
| 931 | + | |
| 932 | + | |
932 | 933 | | |
933 | 934 | | |
934 | 935 | | |
935 | 936 | | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
936 | 942 | | |
937 | 943 | | |
938 | 944 | | |
| |||
943 | 949 | | |
944 | 950 | | |
945 | 951 | | |
946 | | - | |
947 | | - | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
948 | 957 | | |
949 | 958 | | |
950 | 959 | | |
| |||
0 commit comments