Skip to content

Commit 315f6c1

Browse files
DimitriPapadopoulosastanin
authored andcommitted
One last fix for flit builds
It's `_version.py`, not `version.py` any more.
1 parent 4552d6e commit 315f6c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tabulate/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
from typing import Callable, Union
88

99
try:
10-
__version__ = _version("tabulate")
10+
__version__ = _version("tabulate") # installed package
1111
except _PackageNotFoundError:
1212
try:
13-
from .version import version as __version__ # noqa: F401
13+
from ._version import version as __version__ # editable / source checkout
1414
except ImportError:
1515
__version__ = "unknown"
1616

0 commit comments

Comments
 (0)