Skip to content

Commit 891d9d1

Browse files
committed
Drop versioneer; hard-code the version, as for the Khiops binaries
1 parent e6b11ab commit 891d9d1

File tree

6 files changed

+6
-3088
lines changed

6 files changed

+6
-3088
lines changed

khiops/__init__.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,16 @@
2222
(extension ".khcj")
2323
- sklearn: Scikit-Learn estimator classes to learn and use Khiops models
2424
"""
25-
import importlib
26-
import importlib.util
25+
import importlib.metadata
2726
import os
2827
import sys
2928
import warnings
3029
from copy import copy
3130
from pathlib import Path
3231

33-
from khiops._version import get_versions
3432
from khiops.core.internals.version import KhiopsVersion
3533

36-
__version__ = get_versions()["version"]
37-
del get_versions
34+
__version__ = importlib.metadata.version("khiops")
3835

3936

4037
def get_compatible_khiops_version():

0 commit comments

Comments
 (0)