Commit bd1e6327 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Setuptools version number is not there during coverage tests

parent 02b780a1
......@@ -16,7 +16,10 @@ from . import recursiveMapper
from . import cleanupNodes
import pkg_resources # pragma: no cover
__version__ = pkg_resources.require("dmt")[0].version # pragma: no cover
try:
__version__ = pkg_resources.require("dmt")[0].version # pragma: no cover
except:
__version__ = "2.1.1"
def print_version() -> None:
......
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