Skip to content

Commit

Permalink
Merge pull request #212 from cadCAD-org/tdm-version-logging
Browse files Browse the repository at this point in the history
Add version to execution logs
  • Loading branch information
JEJodesty authored Jan 27, 2021
2 parents 922dad1 + bab0368 commit daff871
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions cadCAD/utils/execution.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
from cadCAD import logo
from setup import version


def print_exec_info(exec_context, configs):
print(logo)
print(f'cadCAD Version: {version}')
print(f'Execution Mode: {exec_context}')
print(f'Configuration Count: {len(configs)}')
first_sim = configs[0].sim_config
Expand Down
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@
provided.
"""

setup(name='cadCAD',
version='0.4.23',
name = "cadCAD"
version = "0.4.23"

setup(name=name,
version=version,
description=short_description,
long_description=long_description,
url='https://github.com/cadCAD-org/cadCAD',
Expand Down

0 comments on commit daff871

Please sign in to comment.