* @param path
*/
protected void setInterpreterManager(String path) {
PythonInterpreterManager interpreterManager = new PythonInterpreterManager(this.getPreferences());
InterpreterInfo info;
info = (InterpreterInfo) interpreterManager.createInterpreterInfo(TestDependent.PYTHON_EXE,
new NullProgressMonitor(), false);
TestDependent.PYTHON_EXE = info.executableOrJar;
if (path != null) {
info = new InterpreterInfo(info.getVersion(), info.executableOrJar,
PythonPathHelper.parsePythonPathFromStr(path, new ArrayList<String>()));
}
interpreterManager.setInfos(new IInterpreterInfo[] { info }, null, null);
PydevPlugin.setPythonInterpreterManager(interpreterManager);