Skip to content

Commit

Permalink
versioneer
Browse files Browse the repository at this point in the history
  • Loading branch information
wsdewitt committed Jun 14, 2020
1 parent 572d676 commit f2c93ad
Show file tree
Hide file tree
Showing 8 changed files with 2,364 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mushi/_version.py export-subst
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include versioneer.py
include mushi/_version.py
8 changes: 5 additions & 3 deletions docsrc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#
import os
import sys
from mushi import __version__
sys.path.insert(0, os.path.abspath('..'))

# -- Project information -----------------------------------------------------
Expand All @@ -11,8 +10,11 @@
copyright = '2020, William DeWitt, Kameron Decker Harris, and Kelley Harris'
author = 'William DeWitt, Kameron Decker Harris, and Kelley Harris'

version = __version__
release = version
# No version in docs, doesn't play nice with versioneer
# The short X.Y version
version = ''
# The full version, including alpha/beta/rc tags
release = ''

# -- General configuration ---------------------------------------------------

Expand Down
8 changes: 5 additions & 3 deletions mushi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
__version__ = '0.1-dev'
from .ksfs import kSFS # noqa
from .histories import eta, mu # noqa

from .ksfs import kSFS
from .histories import eta, mu
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
Loading

0 comments on commit f2c93ad

Please sign in to comment.