Skip to content

Commit

Permalink
Use importlib.metadata for version
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbluca committed Oct 13, 2023
1 parent eed0766 commit 9957945
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dask_sql/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
# https://github.com/dask-contrib/dask-sql/issues/1169
from . import _datafusion_lib # isort:skip

import importlib.metadata

from . import config
from .cmd import cmd_loop
from .context import Context
from .datacontainer import Statistics
from .server.app import run_server

__version__ = "2023.10.0"
__version__ = importlib.metadata.version(__name__)

__all__ = [__version__, cmd_loop, Context, run_server, Statistics]

0 comments on commit 9957945

Please sign in to comment.