Skip to content

Commit

Permalink
fix versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmilten committed Dec 22, 2021
1 parent b5e240e commit 055fa52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name="treed",
version="2.0.1",
version=version,
author="Matthias Miltenberger",
author_email="[email protected]",
description="3D Visualization of Branch-and-Cut Trees using PySCIPOpt",
Expand Down
3 changes: 2 additions & 1 deletion src/treed/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
parser.add_argument(
"--version",
"-v",
action="store_true",
action="version",
version=f"TreeD {__version__}",
help="show version",
)
parser.add_argument(
Expand Down

0 comments on commit 055fa52

Please sign in to comment.