-
Notifications
You must be signed in to change notification settings - Fork 302
Initial creation of the IronPython SDK #1928
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Lamparter
wants to merge
9
commits into
IronLanguages:main
Choose a base branch
from
Lamparter:sdk
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
f8cd3cd
Initial SDK project creation
Lamparter 683b176
Added example project
Lamparter eb88a7e
Split files
Lamparter f59b24c
Rename `sdk` to `tooling`
Lamparter f39eb35
Fix solution
Lamparter 3620fce
Move `IronPython.Sdk.Sample` to `tests`
Lamparter e8908b2
Remove unnecessary file
Lamparter 0687f09
Reword
Lamparter 9d2ae8e
Remove `InterpreterId` calculator
Lamparter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>net472;netstandard2.0</TargetFrameworks> | ||
<PackageType>MSBuildSdk</PackageType> | ||
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
</PropertyGroup> | ||
</Project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging> | ||
</PropertyGroup> | ||
</Project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<Project> | ||
<!-- Not much of this works right now --> | ||
<PropertyGroup> | ||
<StartupFile>Program.py</StartupFile> | ||
<!-- | ||
<StartupFile Condition="Exists('main.py')">main.py</StartupFile> | ||
<StartupFile Condition="Exists('main.py') and '$(StartupFile)' == ''">main.py</StartupFile> | ||
--> | ||
</PropertyGroup> | ||
<!-- | ||
<ItemGroup> | ||
<Compile Include="*.py" Exclude="obj\**;bin\**"/> | ||
</ItemGroup> | ||
--> | ||
</Project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<ProjectHome>.</ProjectHome> | ||
<SearchPath> | ||
</SearchPath> | ||
<WorkingDirectory>.</WorkingDirectory> | ||
<OutputPath>.</OutputPath> | ||
<Name>$(MSBuildProjectName)</Name> | ||
<RootNamespace>$(Name)</RootNamespace> | ||
</PropertyGroup> | ||
</Project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<Project> | ||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Python Tools\Microsoft.PythonTools.targets" /> | ||
<!-- Uncomment the CoreCompile target to enable the Build command in | ||
Visual Studio and specify your pre- and post-build commands in | ||
the BeforeBuild and AfterBuild targets below. --> | ||
<!--<Target Name="CoreCompile" />--> | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
</Project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> | ||
<Import Project="Debugging.props" /> | ||
<Import Project="PythonTools.props" /> | ||
<Import Project="PythonEngine.props" /> | ||
<Import Project="FileIncludes.props" /> | ||
<PropertyGroup> | ||
<!-- Default --> | ||
<!--<InterpreterId>Global|$(PythonInterpreter)|$(PythonVersion)</InterpreterId>--> | ||
|
||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectGuid>c1e9ed5c-242e-4f90-8e69-7fdde3c919bd</ProjectGuid> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<InterpreterReference Include="Global|IronPython|3.4" /> | ||
<InterpreterReference Include="Global|PythonCore|3.12" /> | ||
</ItemGroup> | ||
</Project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<Project ToolsVersion="4.0"> | ||
<PropertyGroup> | ||
<PythonInterpreter>IronPython</PythonInterpreter> | ||
<PythonVersion>3.4</PythonVersion> | ||
<InterpreterId>Global|IronPython|3.4</InterpreterId> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Compile Include="*.py" /> | ||
</ItemGroup> | ||
<Import Project="..\..\src\tooling\IronPython.Sdk\Sdk\Sdk.props" /> | ||
</Project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
print("Hello, World!") |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you're changing the path you also need to update the csproj that are referencing it.