-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
works for net6, still need to test net8
- Loading branch information
1 parent
ea0e83c
commit b0623e0
Showing
7 changed files
with
62 additions
and
25 deletions.
There are no files selected for viewing
This file contains 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,7 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<!--<OutputPath Condition=" '$(OutputPath)' == '' ">$(SolutionDir)bin\$(Platform)\$(Configuration)</OutputPath>--> | ||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> | ||
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath> | ||
</PropertyGroup> | ||
</Project> |
This file contains 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 |
---|---|---|
@@ -1,28 +1,47 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<ProjectGuid>{9EEF4F42-6B3B-4358-9A8A-C2701539A822}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>DSIronPython</RootNamespace> | ||
<AssemblyName>DSIronPython</AssemblyName> | ||
<TargetFramework>net6.0</TargetFramework> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="DynamoVisualProgramming.Core" Version="3.0.0-beta7023" /> | ||
<PackageReference Include="IronPython" Version="2.7.12" /> | ||
<PackageReference Include="IronPython.StdLib" Version="2.7.12" /> | ||
<ImportGroup Label="PropertySheets"> | ||
<Import Project="$(SolutionDir)Config\shared.props" /> | ||
</ImportGroup> | ||
<PropertyGroup> | ||
<OutputPath>$(SolutionDir)\package_output\DSIronPython\bin\</OutputPath> | ||
<ProjectGuid>{9EEF4F42-6B3B-4358-9A8A-C2701539A822}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>DSIronPython</RootNamespace> | ||
<AssemblyName>DSIronPython</AssemblyName> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="DynamoVisualProgramming.Core" Version="3.0.0-beta7023"> | ||
<IncludeAssets></IncludeAssets> | ||
<ExcludeAssets>runtime</ExcludeAssets> | ||
<PrivateAssets>all</PrivateAssets> | ||
</PackageReference> | ||
<PackageReference Include="IronPython" Version="2.7.12" /> | ||
<PackageReference Include="IronPython.StdLib" Version="2.7.12" /> | ||
|
||
|
||
</ItemGroup> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute"> | ||
<_Parameter1>IronPythonTests</_Parameter1> | ||
</AssemblyAttribute> | ||
</ItemGroup> | ||
<Target Name="AfterBuildOps" AfterTargets="Build"> | ||
<ItemGroup> | ||
<PythonStdLib Include="$(ProjectDir)..\..\packages\IronPython.StdLib.2.7.9\contentFiles\any\any\Lib\**\*.*" /> | ||
</ItemGroup> | ||
<Copy SourceFiles="@(PythonStdLib)" DestinationFiles="@(PythonStdLib->'$(TargetDir)IronPython.StdLib.2.7.9\%(RecursiveDir)%(Filename)%(Extension)')" SkipUnchangedFiles="true" /> | ||
</Target> | ||
|
||
<Target Name="Move python libs to extra" AfterTargets="Build"> | ||
<ItemGroup> | ||
<MySourceFiles Include="$(OutputPath)\*lib\**;" /> | ||
</ItemGroup> | ||
|
||
<Move SourceFiles="@(MySourceFiles)" DestinationFiles="$(OutputPath)..\extra\%(RecursiveDir)%(Filename)%(Extension)" /> | ||
</Target> | ||
|
||
<Target Name="Remove Lib" AfterTargets="Move python libs to extra"> | ||
<RemoveDir Directories="$(OutputPath)\lib" /> | ||
</Target> | ||
|
||
<Target Name="copypkgjson" AfterTargets="Build"> | ||
<Copy SourceFiles="pkg.json" DestinationFolder="$(OutputPath)..\"/> | ||
</Target> | ||
</Project> |
This file contains 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
This file contains 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
2 changes: 1 addition & 1 deletion
2
IronPythonExtension/IronPythonExtension_ExtensionDefinition.xml
This file contains 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<ExtensionDefinition> | ||
<AssemblyPath>..\IronPythonExtension.dll</AssemblyPath> | ||
<AssemblyPath>..\bin\IronPythonExtension.dll</AssemblyPath> | ||
<TypeName>IronPythonExtension.IronPythonExtension</TypeName> | ||
</ExtensionDefinition> |
This file contains 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
This file contains 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 |
---|---|---|
@@ -1 +1,5 @@ | ||
# DSIronPython | ||
# DSIronPython | ||
|
||
Contains the DSIronPython package for using the legacy IronPython2 engine in Dynamo. | ||
Building this soluton will produce a dynamo package containing the python engine and an extension to load it. | ||
This repo is a WIP. |