protected static void addCommonEnvironmentVariables(@Nullable String homePath, Map<String, String> env, boolean addPyCharmHosted) {
    PythonEnvUtil.setPythonUnbuffered(env);
    if (homePath != null) {
      PythonEnvUtil.resetHomePathChanges(homePath, env);
    }
    if (addPyCharmHosted) {
      env.put("PYCHARM_HOSTED", "1");
    }
  }
protected static void addCommonEnvironmentVariables(@Nullable String homePath, Map<String, String> env, boolean addPyCharmHosted)