Skip to content

Commit

Permalink
Versioneer: Adding basic version tracking with versioneer
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Lange committed Jan 27, 2017
1 parent 7d152b0 commit 329c9a5
Show file tree
Hide file tree
Showing 7 changed files with 2,359 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitattributes
@@ -0,0 +1 @@
devito/_version.py export-subst
2 changes: 2 additions & 0 deletions MANIFEST.in
@@ -0,0 +1,2 @@
include versioneer.py
include devito/_version.py
5 changes: 5 additions & 0 deletions devito/__init__.py
Expand Up @@ -20,3 +20,8 @@ def clear_cache():
for key, val in list(_SymbolCache.items()):
if val() is None:
del _SymbolCache[key]


from ._version import get_versions # noqa
__version__ = get_versions()['version']
del get_versions

0 comments on commit 329c9a5

Please sign in to comment.