Commit b5dd2fc5 authored by Maxime Perrotin's avatar Maxime Perrotin

Fix version number

parent 815bc30d
......@@ -15,9 +15,9 @@ from . import verify
from . import recursiveMapper
from . import cleanupNodes
__version__ = "2.0.3"
def print_version() -> None:
import pkg_resources # pragma: no cover
version = pkg_resources.require("dmt")[0].version # pragma: no cover
print("TASTE Data Modelling Tools version {}\n\n"
"The following tools are available:\n"
" asn2aadlPlus - Convert ASN.1 models to AADL\n"
......@@ -25,4 +25,4 @@ def print_version() -> None:
" aadl2glueC - TASTE B Mappers (from ASN.1+AADL to glue code)\n"
" msgPrinter - Generate serializers of ASN.1 instances\n"
" msgPrinterASN1 - Generate serializers of ASN.1 instances (other encodings)\n"
" smp2asn - SMP2 to ASN.1 converter\n".format(__version__))
" smp2asn - SMP2 to ASN.1 converter\n".format(version))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment