diff --git a/dask_mpi/__init__.py b/dask_mpi/__init__.py index edf2208..c2ec8cb 100644 --- a/dask_mpi/__init__.py +++ b/dask_mpi/__init__.py @@ -1,5 +1,5 @@ +from . import _version from .core import initialize, send_close_signal from .exceptions import WorldTooSmallException -from . import _version __version__ = _version.get_versions()["version"] diff --git a/dask_mpi/_version.py b/dask_mpi/_version.py index 7d95461..596ba62 100644 --- a/dask_mpi/_version.py +++ b/dask_mpi/_version.py @@ -11,12 +11,12 @@ """Git implementation of _version.py.""" import errno +import functools import os import re import subprocess import sys from typing import Any, Callable, Dict, List, Optional, Tuple -import functools def get_keywords() -> Dict[str, str]: