From 6cc36d28bd0bf93695cb7c14e487f2966bcd8f98 Mon Sep 17 00:00:00 2001 From: foefl Date: Thu, 19 Jun 2025 12:02:27 +0200 Subject: [PATCH] add default runtime path with empty string, closes #4 --- dopt.TOM/Plugin.cs | 2 +- dopt.TOM/dopt.TOM.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dopt.TOM/Plugin.cs b/dopt.TOM/Plugin.cs index 4d742f7..dcbcbe2 100644 --- a/dopt.TOM/Plugin.cs +++ b/dopt.TOM/Plugin.cs @@ -13,7 +13,7 @@ namespace dopt.TOM internal const string langMainStopSearchFolderName = "python"; internal const string doptTOMPluginLibraryUsage = "1"; 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(); using (Py.GIL()) diff --git a/dopt.TOM/dopt.TOM.csproj b/dopt.TOM/dopt.TOM.csproj index 032b78b..92c9f75 100644 --- a/dopt.TOM/dopt.TOM.csproj +++ b/dopt.TOM/dopt.TOM.csproj @@ -3,7 +3,7 @@ netstandard2.0 x64 - 0.1.2 + 0.1.3-alpha1 x64