Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
aamalev committed Nov 22, 2019
1 parent fb4b7b1 commit 564cc84
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ sudo: false
services:
- redis-server
python:
- 3.5.3
- 3.6
- 3.7
install:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.')

Expand Down

0 comments on commit 564cc84

Please sign in to comment.