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
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
pydev-code mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-code

Reply via email to