import pkg_resources  # part of setuptools
__version__ = pkg_resources.require("obnl")[0].version
import pkg_resources  # part of setuptools
try:
    __version__ = pkg_resources.require("obnl")[0].version
except:
    pass

add try for obnl version loading in init