// for p in sys.path:
// print >> sys.stderr, p
//
// print >> sys.stderr, 'Ok, all set up... Enjoy'
PydevIProcessFactory iprocessFactory = new PydevIProcessFactory();
PydevConsoleLaunchInfo launchAndProcess = iprocessFactory.createInteractiveLaunch();
if (launchAndProcess == null) {
return null;
}
if (launchAndProcess.interpreter != null) {
return createPydevInterpreter(launchAndProcess, iprocessFactory.getNaturesUsed());
} else {
return createPydevDebugInterpreter(launchAndProcess);
}
}