Skip to content
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.

Commit

Permalink
Merge pull request #161 from delira-dev/versioneer
Browse files Browse the repository at this point in the history
Add Versioneer for versioning
  • Loading branch information
justusschock committed Jul 26, 2019
2 parents 3b6f673 + dab3eca commit 9491fad
Show file tree
Hide file tree
Showing 8 changed files with 2,368 additions and 25 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
delira/_version.py export-subst
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ include *.txt
include *.md
include LICENSE
include notebooks/*.ipynb
include versioneer.py
include delira/_version.py
7 changes: 5 additions & 2 deletions delira/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
__version__ = '0.4.1'

from ._version import get_versions
import json
import os
import warnings
Expand Down Expand Up @@ -121,3 +120,7 @@ def set_debug_mode(mode: bool):
"""
global __DEBUG_MODE
__DEBUG_MODE = mode


__version__ = get_versions()['version']
del get_versions

0 comments on commit 9491fad

Please sign in to comment.