Skip to content

Commit

Permalink
Added verstion to __init__.py and setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
eacharles committed Feb 16, 2021
1 parent 3db4be4 commit 31a0a43
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions python/cfgmdl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
""" Tools for configuration parsing and model building """

from .version import get_git_version
__version__ = get_git_version()
del get_git_version

from .property import Property
from .choice import Choice
from .parameter import Parameter
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from setuptools import setup

from python.bolo import version
from python.cfgmdl.version import get_git_version

setup(
name="cfgmdl",
version=version.get_git_version(),
version=get_git_version(),
author="",
author_email="",
url = "https://github.com/KIPAC/cfgmdl",
Expand Down

0 comments on commit 31a0a43

Please sign in to comment.