use of org.python.pydev.core.IInterpreterManager in project ibex_gui by ISISComputingGroup.
the class PyDevConfiguration method configure.
/**
* Configure PyDev.
*/
public static void configure() {
IInterpreterManager iMan = InterpreterManagersAPI.getPythonInterpreterManager(true);
NullProgressMonitor monitor = new NullProgressMonitor();
IInterpreterInfo interpreterInfo = iMan.createInterpreterInfo(PreferenceSupplier.getPythonPath(), monitor, false);
iMan.setInfos(new IInterpreterInfo[] { interpreterInfo }, Collections.<String>emptySet(), monitor);
}
Aggregations