Lines Matching full:pythonhome
24 * We attempt to locate the "Python Home" - if the PYTHONHOME env var
468 char *pythonhome = Py_GetPythonHome(); in calculate_path() local
483 if (pythonhome == NULL || *pythonhome == '\0') { in calculate_path()
485 pythonhome = prefix; in calculate_path()
487 pythonhome = NULL; in calculate_path()
490 strncpy(prefix, pythonhome, MAXPATHLEN); in calculate_path()
513 skiphome = pythonhome==NULL ? 0 : 1; in calculate_path()
520 skipdefault = envpath!=NULL || pythonhome!=NULL || \ in calculate_path()
529 of each component replaced with pythonhome, if set; in calculate_path()
533 - If PYTHONHOME is set (in any way) item (3) is ignored. in calculate_path()
538 if (pythonhome != NULL) { in calculate_path()
545 bufsz *= strlen(pythonhome); in calculate_path()
605 if (pythonhome == NULL) { in calculate_path()
612 if (pythonhome == NULL) { in calculate_path()
628 strcpy(buf, pythonhome); in calculate_path()