Unverified Commit 4dd9e110 authored by Adam Procter's avatar Adam Procter Committed by GitHub

Merge pull request #2329 from NervanaSystems/mkarzyns/version_fix

[Py] Fix version label
parents a534274f 544aa6a3
...@@ -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