mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
bpo-32430: Rename Modules/Setup.dist to Modules/Setup (GH-8229)
bpo-32430: Rename Modules/Setup.dist to Modules/Setup Remove the necessity to copy the former manually to the latter when updating the local source tree.
This commit is contained in:
parent
35c0809158
commit
961d54c5c1
11 changed files with 32 additions and 43 deletions
|
|
@ -322,7 +322,7 @@ search_for_prefix(const _PyCoreConfig *core_config,
|
|||
/* Check to see if argv[0] is in the build directory */
|
||||
wcsncpy(prefix, calculate->argv0_path, MAXPATHLEN);
|
||||
prefix[MAXPATHLEN] = L'\0';
|
||||
joinpath(prefix, L"Modules/Setup");
|
||||
joinpath(prefix, L"Modules/Setup.local");
|
||||
if (isfile(prefix)) {
|
||||
/* Check VPATH to see if argv0_path is in the build directory. */
|
||||
vpath = Py_DecodeLocale(VPATH, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue