Skip to content

Commit c902e86

Browse files
Add __version__ to __init__.py
1 parent 9a5276b commit c902e86

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pymc_extras/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# limitations under the License.
1414
import logging
1515

16+
from importlib.metadata import version
17+
1618
from pymc_extras import gp, statespace, utils
1719
from pymc_extras.distributions import *
1820
from pymc_extras.inference import find_MAP, fit, fit_laplace, fit_pathfinder
@@ -30,3 +32,6 @@
3032
if len(_log.handlers) == 0:
3133
handler = logging.StreamHandler()
3234
_log.addHandler(handler)
35+
36+
37+
__version__ = version("pymc-extras")

0 commit comments

Comments
 (0)