Lines Matching full:pythonpath
14 * If the PYTHONPATH env. var. exists, its entries are added next.
17 under the main PythonPath registry key. These are added next (the
30 loaded from the registry. This is the main PythonPath key,
33 * Iff - we can not locate the Python Home, have not had a PYTHONPATH
210 /* Load a PYTHONPATH value from the registry.
233 static const TCHAR keySuffix[] = _T("\\PythonPath"); in getpythonregpath()
469 char *envpath = Py_GETENV("PYTHONPATH"); in calculate_path()
518 /* We only use the default relative PYTHONPATH if we havent in calculate_path()
525 (1) the PYTHONPATH environment variable, if set; in calculate_path()
528 (4) the PYTHONPATH config macro, with the leading "." in calculate_path()
541 for (p = PYTHONPATH; *p; p++) { in calculate_path()
549 bufsz += strlen(PYTHONPATH) + 1; in calculate_path()
564 fprintf(stderr, "Can't malloc dynamic PYTHONPATH.\n"); in calculate_path()
566 fprintf(stderr, "Using environment $PYTHONPATH.\n"); in calculate_path()
571 module_search_path = PYTHONPATH; in calculate_path()
607 strcpy(buf, PYTHONPATH); in calculate_path()
613 strcpy(buf, PYTHONPATH); in calculate_path()
618 char *p = PYTHONPATH; in calculate_path()