add default runtime path with empty string, closes #4

This commit is contained in:
Florian Förster 2025-06-19 12:02:27 +02:00
parent 566cf8b9a9
commit 6cc36d28bd
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ namespace dopt.TOM
internal const string langMainStopSearchFolderName = "python"; internal const string langMainStopSearchFolderName = "python";
internal const string doptTOMPluginLibraryUsage = "1"; internal const string doptTOMPluginLibraryUsage = "1";
protected dynamic tomWrapperPipelines; protected dynamic tomWrapperPipelines;
public Plugin(string runtimePath) : base(SharpPython.PyOptimLevels.O, threaded: false, runtimePath: runtimePath, verbose: true) public Plugin(string runtimePath = "") : base(SharpPython.PyOptimLevels.O, threaded: false, runtimePath: runtimePath, verbose: true)
{ {
base.Initialise(); base.Initialise();
using (Py.GIL()) using (Py.GIL())

View File

@ -3,7 +3,7 @@
<PropertyGroup> <PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework> <TargetFramework>netstandard2.0</TargetFramework>
<PlatformTarget>x64</PlatformTarget> <PlatformTarget>x64</PlatformTarget>
<Version>0.1.2</Version> <Version>0.1.3-alpha1</Version>
<Platforms>x64</Platforms> <Platforms>x64</Platforms>
</PropertyGroup> </PropertyGroup>