1 2 3 4 5 6 7
from __future__ import absolute_import import pkg_resources try: __version__ = pkg_resources.get_distribution(__name__).version except: __version__ = 'unknown'