Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tabulate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
from typing import Callable, Union

try:
__version__ = _version("tabulate")
__version__ = _version("tabulate") # installed package
except _PackageNotFoundError:
try:
from .version import version as __version__ # noqa: F401
from ._version import version as __version__ # editable / source checkout
except ImportError:
__version__ = "unknown"

Expand Down