Skip to content
This repository was archived by the owner on Dec 7, 2018. It is now read-only.

Commit

Permalink
setup: use versioneer for versioning
Browse files Browse the repository at this point in the history
completely removes any hardcoded version numbers, instead using `git describe --tags --dirty --always` to construct a version based on the commits since the most recent tag
  • Loading branch information
duncanmmacleod committed Apr 17, 2018
1 parent 3c1a85a commit 1f7b25f
Show file tree
Hide file tree
Showing 7 changed files with 2,361 additions and 13 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gwin/_version.py export-subst
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ include LICENSE
include MANIFEST.in
include README.rst
include test/
include versioneer.py
include gwin/_version.py
5 changes: 4 additions & 1 deletion gwin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@
using Bayesian Inference.
"""

from ._version import get_versions
from .likelihood import *
from .sampler import *
from .burn_in import *

__author__ = 'Collin Capano <collin [email protected]>'
__version__ = '0.1.0'
__version__ = get_versions()['version']

del get_versions
Loading

0 comments on commit 1f7b25f

Please sign in to comment.