Lines Matching full:pythonhome
16 * We attempt to locate the "Python Home" - if the PYTHONHOME env var
264 char *pythonhome = Py_GetPythonHome(); in calculate_path() local
273 if (pythonhome == NULL || *pythonhome == '\0') { in calculate_path()
275 pythonhome = prefix; in calculate_path()
277 pythonhome = NULL; in calculate_path()
280 strncpy(prefix, pythonhome, MAXPATHLEN); in calculate_path()
302 * of each component replaced with pythonhome, if set; in calculate_path()
308 if (pythonhome != NULL) { in calculate_path()
315 bufsz *= strlen(pythonhome); in calculate_path()
351 if (pythonhome == NULL) { in calculate_path()
366 strcpy(buf, pythonhome); in calculate_path()