Author: Diane Trout <diane@ghic.org>
Description: Upstreams config includes the python version information
 for the python it was built with, which makes it harder for pybuild
 to merge the differen python libraries into the python3 directory.
 I modified it to return the information for the currently running
 interpreter, which should usually look like what it expects to see.
Forwarded: no

--- a/skmisc/__config__.py.in
+++ b/skmisc/__config__.py.in
@@ -1,6 +1,8 @@
 # This file is generated by scikit-miscs's build process
 # It contains system_info results at the time of building this package.
 from enum import Enum
+import sys
+import sysconfig
 
 __all__ = ["show"]
 _built_with_meson = True
@@ -82,8 +84,8 @@
             "cross-compiled": bool("@CROSS_COMPILED@".lower().replace('false', '')),
         },
         "Python Information": {
-            "path": r"@PYTHON_PATH@",
-            "version": "@PYTHON_VERSION@",
+            "path": sys.executable,
+            "version": sysconfig.get_config_var("py_version_short"),
         },
     }
 )
