From 639fff59eabd9c614f75cada2f6683b4165b402a Mon Sep 17 00:00:00 2001 From: olaf michaelis Date: Tue, 1 Aug 2023 21:43:48 +0200 Subject: [PATCH] Improve setup.py metadata regex --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index da84a78902..bff54618f7 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ # get metadata from mudule using a regexp with open('rdmo/__init__.py') as f: - metadata = dict(re.findall(r'__(.*)__ = [\']([^\']*)[\']', f.read())) + metadata = dict(re.findall(r'__(.*)__ = [\'"]([^\'"]*)[\'"]', f.read())) # get install_requires from requirements.txt with open('requirements.txt') as f: