diff --git a/bluepyopt/ephys/create_hoc.py b/bluepyopt/ephys/create_hoc.py index b1a340c1..386056e0 100644 --- a/bluepyopt/ephys/create_hoc.py +++ b/bluepyopt/ephys/create_hoc.py @@ -4,6 +4,7 @@ import os import re +import setuptools_scm from collections import defaultdict, namedtuple, OrderedDict from datetime import datetime @@ -284,7 +285,7 @@ def _get_template_params( if not disable_banner: banner = 'Created by BluePyOpt(%s) at %s' % ( - bluepyopt.__version__, datetime.now()) + setuptools_scm.get_version(), datetime.now()) else: banner = None