Use Py_GetPythonHome() instead of getenv("PYTHONHOME").

This commit is contained in:
Guido van Rossum 1998-07-27 13:49:04 +00:00
parent 8b2b3ce4be
commit 28700c464a
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ calculate_path()
char argv0_path[MAXPATHLEN+1];
char *buf;
int bufsz;
char *pythonhome = getenv("PYTHONHOME");
char *pythonhome = Py_GetPythonHome();
char *envpath = getenv("PYTHONPATH");
#ifdef MS_WIN32
char *machinepath, *userpath;