Skip to content

Commit

Permalink
Update __init__.py to gather the version for ./VERSION file
Browse files Browse the repository at this point in the history
  • Loading branch information
hervenivon committed Jul 6, 2018
1 parent 3a257d3 commit 4bf43a9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion buzzard/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,9 @@
import buzzard.srs
import buzzard.algo

__version__ = "0.4.3"
# Gather version
import os
version_file = open(os.path.join('.', 'VERSION'))
version = version_file.read().strip()

__version__ = version

0 comments on commit 4bf43a9

Please sign in to comment.