Skip to content

Commit bbba45d

Browse files
authored
Merge pull request #1 from drammock/add-zuna-related-software
fixes
2 parents af32cf6 + 63370e8 commit bbba45d

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

doc/sphinxext/related_software.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
1. Add it to the MNE-installers if possible, and it will automatically appear.
66
2. If it's on PyPI and not in the MNE-installers, add it to the PYPI_PACKAGES set.
77
3. If it's not on PyPI, add it to the MANUAL_PACKAGES dictionary.
8+
9+
If PyPI or manual, also add package name to `related_software.txt` or
10+
`related_software_nodeps.txt` so that it's installed at doc-build time (for package
11+
metadata querying).
812
"""
913

1014
# Authors: The MNE-Python contributors.
@@ -222,7 +226,7 @@ def run(self):
222226
return [my_list]
223227

224228

225-
def setup(app):
229+
def setup(app): # noqa: D103
226230
app.add_directive("related-software", RelatedSoftwareDirective)
227231
# Run it as soon as this is added as a Sphinx extension so that any errors
228232
# / new packages are reported early. The next call in run() will be cached.

doc/sphinxext/related_software_nodeps.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ fsleyes
44
mne-kit-gui
55
mne-videobrowser
66
hedtools # because it limits our Pandas version currently
7+
zuna # requires pytorch

0 commit comments

Comments
 (0)