We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caacd4e commit 8c465c3Copy full SHA for 8c465c3
docs/conf.py
@@ -3,14 +3,13 @@
3
# For the full list of built-in configuration values, see the documentation:
4
# https://www.sphinx-doc.org/en/master/usage/configuration.html
5
import os
6
+import re
7
import sys
8
+from pathlib import Path
9
10
11
sys.path.insert(0, os.path.abspath("../src"))
12
-import re
-from pathlib import Path
13
-
14
_ROOT = Path(__file__).resolve().parents[1]
15
_ver_file = _ROOT / "src" / "sqlite3_to_mysql" / "__init__.py"
16
_m = re.search(r'^__version__\s*=\s*[\'"]([^\'"]+)[\'"]', _ver_file.read_text(encoding="utf-8"), re.M)
0 commit comments