Skip to content

Commit

Permalink
Now versions are managed by versioneer
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoveda committed Apr 15, 2020
1 parent 1c33f5f commit 626d41a
Show file tree
Hide file tree
Showing 8 changed files with 2,378 additions and 9 deletions.
4 changes: 3 additions & 1 deletion MANIFEST.in
@@ -1,2 +1,4 @@
recursive-include artellapipe/config/* *.json
recursive-include artellapipe/config/* *.yml
recursive-include artellapipe/config/* *.yml
include versioneer.py
include artellapipe/config/_version.py
16 changes: 14 additions & 2 deletions artellapipe/config/__version__.py
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

"""
Module that defines package version for artellapipe-config
Version module for artellapipe-config
"""

from __future__ import print_function, division, absolute_import
Expand All @@ -12,4 +12,16 @@
__maintainer__ = "Tomas Poveda"
__email__ = "tpovedatd@gmail.com"

__version__ = "0.0.23"
__version__ = None


def get_version():
global __version__
if __version__:
return __version__

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

return __version__

0 comments on commit 626d41a

Please sign in to comment.