Skip to content

Commit

Permalink
Raise RuntimeError if __version__ is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
konomae committed Aug 21, 2014
1 parent 5db8a92 commit 5a0e780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def get_version():
m = re.match(r'__version__ = [\'"]([^\'"]*)[\'"]', line)
if m:
return m.group(1)
return ''
raise RuntimeError('Cannot find version information')


setup(
Expand Down

0 comments on commit 5a0e780

Please sign in to comment.