Commit 11292dc5 authored by Michal Karzynski's avatar Michal Karzynski

[Py] Fix version label

parent 49a32b14
...@@ -15,8 +15,12 @@ ...@@ -15,8 +15,12 @@
# ****************************************************************************** # ******************************************************************************
"""ngraph module namespace, exposing factory functions for all ops and other classes.""" """ngraph module namespace, exposing factory functions for all ops and other classes."""
from pkg_resources import get_distribution from pkg_resources import get_distribution, DistributionNotFound
__version__ = get_distribution('ngraph-core').version
try:
__version__ = get_distribution('ngraph-core').version
except DistributionNotFound:
__version__ = '0.0.0-dev'
from ngraph.ops import absolute from ngraph.ops import absolute
from ngraph.ops import absolute as abs from ngraph.ops import absolute as abs
......
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