Skip to content

Commit 992ac09

Browse files
committed
fix: hard-code khisto version
Otherwise, Sphinx cannot find the khisto package metadata, because khisto itself is not installed.
1 parent 4c37ed2 commit 992ac09

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/khisto/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# at https://spdx.org/licenses/BSD-3-Clause-Clear.html or see the "LICENSE" file for more details.
44

55
import os
6-
from importlib.metadata import version
76
from pathlib import Path
87
import logging
98

@@ -14,7 +13,7 @@
1413

1514
KHISTO_BIN_DIR = os.environ.get("KHISTO_BIN_DIR", "khisto")
1615

17-
__version__ = version("khisto")
16+
__version__ = "0.1.0"
1817

1918
from .array import histogram # noqa: E402
2019
from .core import HistogramResult # noqa: E402

0 commit comments

Comments
 (0)