From 84b19175b1d4949e5d56067a95e16bd7afec8e09 Mon Sep 17 00:00:00 2001 From: Pariterre Date: Wed, 26 Jun 2024 11:49:48 -0400 Subject: [PATCH] Fixed regex for python setup install --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index eb007e7c..629f2316 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ with open(f"{dir_path}/CMakeLists.txt") as file: for line in file: - match = re.search("project\(ezc3d VERSION ([0-9].[0-9].[0-9])\)", line) + match = re.search(re.compile("project\\(ezc3d VERSION (\\d*\\.\\d*\\.\\d*)\\)"), line) if match is not None: version = match[1] break