public ICompilerResult CompileFile(string fileName)
 {
     Debug.Assert(compilerManager != null);
     PythonCompilerParameters param = new PythonCompilerParameters();
     param.OutputAssembly = Path.ChangeExtension(fileName, ".exe");
     return compilerManager.CompileFile(fileName, param);
 }
        public string GetCompiledOutputName(IProject project)
        {
            PythonProject            p = (PythonProject)project;
            PythonCompilerParameters compilerparameters = (PythonCompilerParameters)p.ActiveConfiguration;
            string exe = Runtime.FileService.GetDirectoryNameWithSeparator(compilerparameters.OutputDirectory) + compilerparameters.OutputAssembly + ".exe";

            return(exe);
        }
Example #3
0
        public BuildResult CompileFile(string fileName)
        {
            Debug.Assert(compilerManager != null);
            PythonCompilerParameters param = new PythonCompilerParameters();

            param.OutputAssembly = Path.ChangeExtension(fileName, ".exe");
            return(compilerManager.CompileFile(fileName, param));
        }
        public override void LoadPanelContents()
        {
            this.compilerParameters = (PythonCompilerParameters)((IProperties)CustomizationObject).GetProperty("Config");

            dllTarget = new RadioButton (exeTarget, "dll");
            SetupUI ();
            RestoreValues ();
            this.ShowAll ();
        }
        public override void LoadPanelContents()
        {
            this.compilerParameters = (PythonCompilerParameters)((IProperties)CustomizationObject).GetProperty("Config");

            dllTarget = new RadioButton(exeTarget, "dll");
            SetupUI();
            RestoreValues();
            this.ShowAll();
        }
 ICompilerResult Compile(PythonCompilerParameters compilerparameters, string[] fileNames)
 {
     // just pretend we compiled
     // and leave it to the runtime for now
     return new DefaultCompilerResult (new CompilerResults (new TempFileCollection ()), "");
 }
 public BuildResult CompileFile(string fileName, PythonCompilerParameters compilerparameters)
 {
     // just pretend we compiled
     // and leave it to the runtime for now
     return(new BuildResult(new CompilerResults(new TempFileCollection()), ""));
 }
		public BuildResult CompileFile (string fileName, PythonCompilerParameters compilerparameters)
		{
			// just pretend we compiled
			// and leave it to the runtime for now
			return new BuildResult (new CompilerResults (new TempFileCollection ()), "");
		}