Skip to content

Commit

Permalink
RFC: Adding new variants to select the desired Qt binding
Browse files Browse the repository at this point in the history
This adds:

- `mne[full-no-qt]`: no Qt bindings
- `mne[full-pyqt6]`: equivalent to `mne[full]`, Qt6 bindings
- `mne[full-pyside6]`: PySide6 bindings

Fixes #12626
  • Loading branch information
hoechenberger committed May 27, 2024
1 parent 8f66cbc commit 63a34f3
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,18 @@ data = []
hdf5 = ["h5io", "pymatreader"]

# Dependencies for full MNE-Python functionality (other than raw/epochs export)
full = [
# We first define a variant without any Qt bindings. The "complete" variant, mne[full],
# makes an opinionated choice and installs PyQt6.
# We also offter two more variants: mne[full-qt6] (which is equivalent to mne[full]),
# and mne[full-pyside6], which will install PySide6 instead of PyQt6.
full-no-qt = [
"mne[hdf5]",
"qtpy",
"PyQt6!=6.6.0",
"PyQt6-Qt6!=6.6.0,!=6.7.0",
"pyobjc-framework-Cocoa>=5.2.0; platform_system=='Darwin'",
"sip",
"scikit-learn",
"nibabel",
"openmeeg>=2.5.5",
# "openmeeg>=2.5.5",
"numba",
"h5py",
"pandas",
Expand Down Expand Up @@ -106,6 +108,19 @@ full = [
"defusedxml",
"neo",
]
full = [
"mne[full-no-qt]",
"PyQt6!=6.6.0",
"PyQt6-Qt6!=6.6.0,!=6.7.0",
]
full-pyqt6 = [
"mne[full]"
]
full-pyside6 = [
"mne[full-no-qt]",
"PySide6"
]


# Dependencies for running the test infrastructure
test = [
Expand Down

0 comments on commit 63a34f3

Please sign in to comment.