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 9fc886a commit d432a89
Show file tree
Hide file tree
Showing 7 changed files with 2,372 additions and 10 deletions.
4 changes: 3 additions & 1 deletion MANIFEST.in
@@ -1,2 +1,4 @@
recursive-include plottwist/config/* *.json
recursive-include plottwist/config/* *.yml
recursive-include plottwist/config/* *.yml
include versioneer.py
include plottwist/config/_version.py
18 changes: 15 additions & 3 deletions plottwist/config/__version__.py
@@ -1,8 +1,8 @@
#!/usr/bin/env python
#! /usr/bin/env python
# -*- coding: utf-8 -*-

"""
Module that contains Plot Twist Pipeline version
Version module for plottwist-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.13"
__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 d432a89

Please sign in to comment.