[Pydev-code] Programmatically configure PyDev project
Brought to you by:
fabioz
|
From: Florian S. <flo...@gm...> - 2008-01-18 05:05:19
|
Hi all, I am trying to programmatically create a Python project and add some source code to it, but I don't know how to configure the project. When it comes to Java projects, here's more or less what one would do: IProject project = .... IJavaProject jp = JavaCore.create(project); List<IClasspathEntry> cpe = new ArrayList<IClasspathEntry>(); cpe.addAll( jp.getRawClasspath() ); cpe.add( JavaRuntime.getDefaultJREContainerEntry() ); jp.setRawClasspath( cpe ); //add files to jp My question is how would I do something like this for a Python project? In other words, what variables should I set in the project's build path? Is there something like JavaCore for PyDev? Thanks in advance, Florian |