Browse Source

IronPython project templates now configure the project to run Program.py with ipy.exe instead of running the project's executable.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6376 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
pull/1/head
Matt Ward 16 years ago
parent
commit
a385fc6424
  1. 19
      src/AddIns/BackendBindings/Python/PythonBinding/Project/Templates/ConsoleProject.xpt
  2. 17
      src/AddIns/BackendBindings/Python/PythonBinding/Project/Templates/FormsProject.xpt

19
src/AddIns/BackendBindings/Python/PythonBinding/Project/Templates/ConsoleProject.xpt

@ -13,11 +13,24 @@
</Actions> </Actions>
<!-- Template Content --> <!-- Template Content -->
<Project language="Python"> <Project language="Python">
<PropertyGroup> <PropertyGroup configuration="Debug" escapeValue="false">
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<MainFile>Program.py</MainFile> <MainFile>Program.py</MainFile>
<DebugInfo>True</DebugInfo> <DebugInfo>True</DebugInfo>
<StartArguments>-X:Debug Program.py</StartArguments>
<StartWorkingDirectory>.\</StartWorkingDirectory>
<StartAction>Program</StartAction>
<StartProgram>${addinpath:ICSharpCode.PythonBinding}\ipy.exe</StartProgram>
</PropertyGroup>
<PropertyGroup configuration="Release" escapeValue="false">
<OutputType>Exe</OutputType>
<MainFile>Program.py</MainFile>
<StartArguments>Program.py</StartArguments>
<StartWorkingDirectory>.\</StartWorkingDirectory>
<StartAction>Program</StartAction>
<StartProgram>${addinpath:ICSharpCode.PythonBinding}\ipy.exe</StartProgram>
</PropertyGroup> </PropertyGroup>
<ProjectItems> <ProjectItems>

17
src/AddIns/BackendBindings/Python/PythonBinding/Project/Templates/FormsProject.xpt

@ -14,10 +14,23 @@
<!-- Template Content --> <!-- Template Content -->
<Project language="Python"> <Project language="Python">
<PropertyGroup> <PropertyGroup configuration="Debug" escapeValue="false">
<OutputType>WinExe</OutputType> <OutputType>WinExe</OutputType>
<MainFile>Program.py</MainFile> <MainFile>Program.py</MainFile>
<DebugInfo>True</DebugInfo> <DebugInfo>True</DebugInfo>
<StartArguments>-X:Debug Program.py</StartArguments>
<StartWorkingDirectory>.\</StartWorkingDirectory>
<StartAction>Program</StartAction>
<StartProgram>${addinpath:ICSharpCode.PythonBinding}\ipy.exe</StartProgram>
</PropertyGroup>
<PropertyGroup configuration="Release" escapeValue="false">
<OutputType>WinExe</OutputType>
<MainFile>Program.py</MainFile>
<StartArguments>Program.py</StartArguments>
<StartWorkingDirectory>.\</StartWorkingDirectory>
<StartAction>Program</StartAction>
<StartProgram>${addinpath:ICSharpCode.PythonBinding}\ipy.exe</StartProgram>
</PropertyGroup> </PropertyGroup>
<ProjectItems> <ProjectItems>

Loading…
Cancel
Save