diff --git a/Lib/fontMath/__init__.py b/Lib/fontMath/__init__.py index e633d4a..7e4e388 100644 --- a/Lib/fontMath/__init__.py +++ b/Lib/fontMath/__init__.py @@ -5,9 +5,15 @@ brilliant glyph math in RoboFab. """ +try: + from ._version import __version__ +except ImportError: + try: + from setuptools_scm import get_version + __version__ = get_version() + except ImportError: + __version__ = 'unknown' + from fontMath.mathGlyph import MathGlyph from fontMath.mathInfo import MathInfo from fontMath.mathKerning import MathKerning - - -version = __version__ = "0.7.1.dev0"