Skip to content
Snippets Groups Projects
Commit ed309fa7 authored by Kapileshwar Singh's avatar Kapileshwar Singh
Browse files

Merge pull request #9 from JaviMerino/add_version

:heart: 
parents 76c19119 40a7dd64
Branches
Tags v5.8-rc3
No related merge requests found
......@@ -14,6 +14,7 @@
#
import pkg_resources
from trappy.compare_runs import summary_plots, compare_runs
from trappy.run import Run
from trappy.plotter.LinePlot import LinePlot
......@@ -32,3 +33,8 @@ for fname in os.listdir(os.path.dirname(__file__)):
__import__("trappy.{}".format(import_name))
del fname, import_name, extension
try:
__version__ = pkg_resources.get_distribution("trappy").version
except pkg_resources.DistributionNotFound:
__version__ = "local"
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