Skip to content

Commit 9130346

Browse files
authored
ENH: Add importlib-metadata dependency for documentation generation (#56)
Add `importlib-metadata` dependency to allow generating the package documentation using `readthedocs`. Fixes: ``` Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/tractolearn/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 350, in eval_config_file exec(code, namespace) File "/home/docs/checkouts/readthedocs.org/user_builds/tractolearn/checkouts/latest/doc/conf.py", line 15, in <module> from importlib.metadata import version ModuleNotFoundError: No module named 'importlib.metadata' ``` raised in: https://readthedocs.org/projects/tractolearn/builds/19667787/
1 parent c3a8aed commit 9130346

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ classifiers = [
1818
]
1919
dependencies = [
2020
# common dependencies
21+
"importlib-metadata",
2122
"comet-ml == 3.0.0",
2223
"h5py == 2.10.0",
2324
"matplotlib >= 2.2.0",

0 commit comments

Comments
 (0)