Skip to content

Commit

Permalink
freeze package name to tortoise-orm
Browse files Browse the repository at this point in the history
  • Loading branch information
waketzheng committed May 9, 2024
1 parent 7b8caad commit b8c341d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tortoise/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import warnings
from copy import deepcopy
from inspect import isclass
from pathlib import Path
from types import ModuleType
from typing import Coroutine, Dict, Iterable, List, Optional, Tuple, Type, Union, cast

Expand Down Expand Up @@ -692,7 +691,7 @@ async def do_stuff():
loop.run_until_complete(connections.close_all(discard=True))


__version__ = importlib_metadata.version(Path(__file__).parent.parent.name)
__version__ = importlib_metadata.version("tortoise-orm")

__all__ = [
"Model",
Expand Down

0 comments on commit b8c341d

Please sign in to comment.