Skip to content

Commit

Permalink
put back __version__ in __init__
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaquier Aurélien Tristan committed Oct 8, 2024
1 parent 97efba2 commit 0cc82de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions bluepyopt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
"""

# pylint: disable=W0611
import setuptools_scm

__version__ = setuptools_scm.get_version()

from . import tools # NOQA

from .api import * # NOQA
Expand Down
3 changes: 1 addition & 2 deletions bluepyopt/ephys/create_hoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import os
import re
import setuptools_scm

from collections import defaultdict, namedtuple, OrderedDict
from datetime import datetime
Expand Down Expand Up @@ -285,7 +284,7 @@ def _get_template_params(

if not disable_banner:
banner = 'Created by BluePyOpt(%s) at %s' % (
setuptools_scm.get_version(), datetime.now())
bluepyopt.__version__, datetime.now())
else:
banner = None

Expand Down

0 comments on commit 0cc82de

Please sign in to comment.