Skip to content

Commit

Permalink
Add version to execution logs
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerdmace committed Nov 6, 2020
1 parent 922dad1 commit bab0368
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 bab0368

Please sign in to comment.