From 564cc84a0b148b7f0d8f8492fb9b4664348142b6 Mon Sep 17 00:00:00 2001 From: Alexander Malev Date: Sat, 23 Nov 2019 01:36:39 +0300 Subject: [PATCH] fix build --- .travis.yml | 1 - setup.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c4c4a97..51449fd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,6 @@ sudo: false services: - redis-server python: -- 3.5.3 - 3.6 - 3.7 install: diff --git a/setup.py b/setup.py index f29de45..133b8cc 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ def get_version(): if not text: text = read(PACKAGE_DIR / '__init__.py') try: - return re.findall(r"^__version__ = '([^']+)'$", text, re.M)[0] + return re.findall(r"\s*__version__ = '([^']+)'$", text, re.M)[0] except IndexError: raise RuntimeError('Unable to determine version.')