Skip to content

Commit

Permalink
Addition of version information to package and command line (#205)
Browse files Browse the repository at this point in the history
* Addition of version information.

* Tweak to have setup.py pull from __version__

* Addition of command line arg to print version.
  • Loading branch information
Francesco Di Natale authored and FrankD412 committed May 28, 2022
1 parent 87b598c commit 9e07e4f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion maestrowf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ def emit(self, record):
LOGGER = logging.getLogger(__name__)
LOGGER.addHandler(NullHandler())

__version_info__ = ("1", "1", "8")
__version_info__ = ("1", "1", "5dev")
__version__ = '.'.join(__version_info__)
4 changes: 2 additions & 2 deletions maestrowf/maestro.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
import time

from maestrowf import __version__
from maestrowf.conductor import Conductor
from maestrowf.specification import YAMLSpecification
from maestrowf.conductor import monitor_study
from maestrowf.datastructures import YAMLSpecification
from maestrowf.datastructures.core import Study
from maestrowf.datastructures.environment import Variable
from maestrowf.utils import \
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
from os import path
from maestrowf import __version__
from setuptools import setup, find_packages

setup(name='maestrowf',
description='A tool and library for specifying and conducting general '
'workflows.',
version='1.1.5dev',
version=__version__,
author='Francesco Di Natale',
author_email='dinatale3@llnl.gov',
url='https://github.com/llnl/maestrowf',
Expand Down

0 comments on commit 9e07e4f

Please sign in to comment.