Commit 28700c46 authored by Guido van Rossum's avatar Guido van Rossum

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

parent 8b2b3ce4
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment