From c95bfc608a6c3f0167a1c630b29e1e1d6c15407d Mon Sep 17 00:00:00 2001 From: gregkalata <53430803+gregkalata@users.noreply.github.com> Date: Tue, 7 Jan 2025 11:38:09 +0000 Subject: [PATCH] Fix install on Windows - replaced native path separator with Unix one to prevent "Could not determine pumla installation path" error --- src/pumla/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pumla/main.py b/src/pumla/main.py index 4fe7f18..6427e1d 100644 --- a/src/pumla/main.py +++ b/src/pumla/main.py @@ -35,7 +35,7 @@ def getPumlaInstallationPath(): '''return the path to the python pumla CLI tool installation.''' pipath = "" - mypath_main = main.__code__.co_filename + mypath_main = main.__code__.co_filename.replace(os.sep, '/') # this is the case for a 'pip install -e .' case if ("src/pumla/main.py" in mypath_main):