summaryrefslogtreecommitdiffstats
path: root/Modules/getpath.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-46015: Fixes calculation of sys.path in a venv on Windows (GH-29992)Steve Dower2021-12-081-8/+11
| | | Also ensures that pybuilddir.txt is written early enough in the build to be picked up by later steps.
* bpo-45582: Write empty pybuilddir.txt on Windows to allow relocatable build ↵Steve Dower2021-12-081-0/+4
| | | | directories (GH-29979)
* bpo-45582: Ensure PYTHONHOME still overrides detected build prefixes (GH-29948)Steve Dower2021-12-071-0/+2
|
* bpo-45582: Port getpath[p].c to Python (GH-29041)Steve Dower2021-12-031-0/+727
The getpath.py file is frozen at build time and executed as code over a namespace. It is never imported, nor is it meant to be importable or reusable. However, it should be easier to read, modify, and patch than the previous code. This commit attempts to preserve every previously tested quirk, but these may be changed in the future to better align platforms.