* Makefile.am:
[monodevelop.git] / extras / PythonBinding / Project / PythonProject.cs
blobe8674c143ae31f33820a59e52bdbee939c4680cb
1 using System;
2 using System.IO;
3 using System.Collections;
4 using System.Xml;
6 using MonoDevelop.Projects;
8 namespace PythonBinding
10 public class PythonProject : AbstractProject
12 public override string ProjectType {
13 get {
14 return PythonLanguageBinding.LanguageName;
18 public override SolutionItemConfiguration CreateConfiguration ()
20 return new PythonCompilerParameters ();
23 public PythonProject ()
27 public PythonProject (ProjectCreateInformation info, XmlElement projectOptions)
29 if (info != null) {
30 Name = info.ProjectName;
31 Configurations.Add (CreateConfiguration ("Debug"));
32 Configurations.Add (CreateConfiguration ("Release"));
33 foreach (PythonCompilerParameters parameter in Configurations) {
34 parameter.OutputDirectory = Path.Combine (info.BinPath, parameter.Name);
35 parameter.OutputAssembly = Name;