change API to use SharpPython runtime path variable
This commit was merged in pull request #5.
This commit is contained in:
@@ -7,7 +7,7 @@ namespace dopt.DeltaBarth
|
||||
{
|
||||
protected dynamic pyModManagement;
|
||||
protected dynamic pyModPipeline;
|
||||
public Plugin() : base(verbose: false)
|
||||
public Plugin(string runtimePath) : base(runtimePath: runtimePath, verbose: false)
|
||||
{
|
||||
base.Initialise();
|
||||
using (Py.GIL())
|
||||
|
||||
@@ -6,15 +6,11 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<Platforms>x64</Platforms>
|
||||
<Version>0.1.0-alpha1</Version>
|
||||
<Version>0.2.0</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="dopt.SharpPython" Version="0.3.0" />
|
||||
<Content Include="..\python\**\*">
|
||||
<Link>python\%(RecursiveDir)/%(FileName)%(Extension)</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<PackageReference Include="dopt.SharpPython" Version="0.4.0" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user