1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Author: Federico Ceratto <federico@debian.org>
Description: add Python import paths to conf.py
Forwarded: not-needed
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -16,6 +16,11 @@
# import sys
# sys.path.insert(0, os.path.abspath('.'))
+import os, sys
+sys.path.insert(0, os.path.abspath(
+ f"../debian/python3-clickhouse-driver/usr/lib/python{sys.version_info[0]}"
+ f".{sys.version_info[1]}/dist-packages"))
+
from clickhouse_driver import __version__, VERSION
# -- Project information -----------------------------------------------------
|