From 6158c13f74c618fde1b374d665e4c4b274e56174 Mon Sep 17 00:00:00 2001 From: sergey Date: Tue, 9 Apr 2019 09:51:07 +0300 Subject: [PATCH] Break looping through __init__.py lines after version string is found in read_metadata() --- python/setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/setup.py b/python/setup.py index 782ee09e..fa1b8173 100644 --- a/python/setup.py +++ b/python/setup.py @@ -33,6 +33,7 @@ def read_meta(): m = re.match('__version__ = "(\S*).*"', line) if m: version, = m.groups() + break with open("README.rst") as f: long_desc = f.read()