forked from mne-tools/mne-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
11 changed files
with
116 additions
and
262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
node: $Format:%H$ | ||
node-date: $Format:%cI$ | ||
describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$ | ||
ref-names: $Format:%D$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.git_archival.txt export-subst |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
[project] | ||
name = "mne" | ||
description = "MNE-Python project for MEG and EEG data analysis." | ||
maintainers = [ | ||
authors = [ | ||
{ name = "Alexandre Gramfort", email = "[email protected]" }, | ||
] | ||
maintainers = [{ name = "Dan McCloy", email = "[email protected]" }] | ||
dynamic = ["version"] | ||
license = { text = "BSD-3-Clause" } | ||
readme = { file = "README.rst", content-type = "text/x-rst" } | ||
|
@@ -30,9 +31,70 @@ classifiers = [ | |
"Operating System :: MacOS", | ||
"Programming Language :: Python :: 3", | ||
] | ||
scripts = { mne = "mne.commands.utils:main" } | ||
dependencies = [ | ||
"numpy>=1.21.2", | ||
"scipy>=1.7.1", | ||
"matplotlib>=3.5.0", | ||
"tqdm", | ||
"pooch>=1.5", | ||
"decorator", | ||
"packaging", | ||
"jinja2", | ||
"importlib_resources>=5.10.2; python_version<'3.9'", | ||
"lazy_loader>=0.3", | ||
"defusedxml", | ||
] | ||
|
||
[project.optional-dependencies] | ||
# requirements for full MNE-Python functionality (other than raw/epochs export) | ||
full = [ | ||
"h5io", | ||
"pymatreader", | ||
"qtpy", | ||
"PyQt6", | ||
"pyobjc-framework-Cocoa>=5.2.0; platform_system=='Darwin'", | ||
"sip", | ||
"scikit-learn", | ||
"nibabel", | ||
"openmeeg>=2.5.5", | ||
"numba", | ||
"h5py", | ||
"pandas", | ||
"numexpr", | ||
"jupyter", | ||
"python-picard", | ||
"statsmodels", | ||
"joblib", | ||
"psutil", | ||
"dipy", | ||
"vtk", | ||
"nilearn", | ||
"xlrd", | ||
"imageio>=2.6.1", | ||
"imageio-ffmpeg>=0.4.1", | ||
"traitlets", | ||
"pyvista>=0.32,!=0.35.2,!=0.38.0,!=0.38.1,!=0.38.2,!=0.38.3,!=0.38.4,!=0.38.5,!=0.38.6,!=0.42.0", | ||
"pyvistaqt>=0.4", | ||
"mffpy>=0.5.7", | ||
"ipywidgets", | ||
"ipympl", | ||
"ipyevents", | ||
"trame", | ||
"trame-vtk", | ||
"trame-vuetify", | ||
"mne-qt-browser", | ||
"darkdetect", | ||
"qdarkstyle", | ||
"threadpoolctl", | ||
] | ||
|
||
# data is empty, but let's leave it here so that we don't break people's workflows who | ||
# did `pip install mne[data]` | ||
data = [] # here for backward-compat | ||
|
||
[project.scripts] | ||
mne = "mne.commands.utils:main" | ||
# requirements for MNE-Python functions that use HDF5 I/O | ||
hdf5 = ["h5io", "pymatreader"] | ||
|
||
[project.urls] | ||
Homepage = "https://mne.tools/" | ||
|
@@ -43,47 +105,14 @@ Forum = "https://mne.discourse.group/" | |
"Source Code" = "https://github.com/mne-tools/mne-python/" | ||
|
||
[build-system] | ||
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
requires = ["hatchling", "hatch-vcs"] | ||
build-backend = "hatchling.build" | ||
|
||
[tool.setuptools_scm] | ||
write_to = "mne/_version.py" | ||
version_scheme = "release-branch-semver" | ||
|
||
[options] | ||
zip_safe = false # the package can run out of an .egg file | ||
include_package_data = true | ||
|
||
[tool.setuptools.package-data] | ||
"mne" = [ | ||
"data/eegbci_checksums.txt", | ||
"data/*.sel", | ||
"data/icos.fif.gz", | ||
"data/coil_def*.dat", | ||
"data/helmets/*.fif.gz", | ||
"data/FreeSurferColorLUT.txt", | ||
"data/image/*gif", | ||
"data/image/*lout", | ||
"data/fsaverage/*.fif", | ||
"channels/data/layouts/*.lout", | ||
"channels/data/layouts/*.lay", | ||
"channels/data/montages/*.sfp", | ||
"channels/data/montages/*.txt", | ||
"channels/data/montages/*.elc", | ||
"channels/data/neighbors/*.mat", | ||
"datasets/sleep_physionet/SHA1SUMS", | ||
"datasets/_fsaverage/*.txt", | ||
"datasets/_infant/*.txt", | ||
"datasets/_phantom/*.txt", | ||
"html/*.js", | ||
"html/*.css", | ||
"html_templates/repr/*.jinja", | ||
"html_templates/report/*.jinja", | ||
"icons/*.svg", | ||
"icons/*.png", | ||
"io/artemis123/resources/*.csv", | ||
"io/edf/gdf_encodes.txt", | ||
] | ||
[tool.hatch] | ||
version.source = "vcs" | ||
version.raw-options = { version_scheme = "release-branch-semver" } | ||
build.hooks.vcs.version-file = "mne/_version.py" | ||
build.exclude = ["/.*", "/*.yml", "/*.yaml", "/*.toml", "/*.txt"] | ||
|
||
[tool.codespell] | ||
ignore-words = "ignore_words.txt" | ||
|
@@ -144,13 +173,44 @@ skips = ["*/test_*.py"] # assert statements are good practice with pytest | |
[tool.rstcheck] | ||
report_level = "WARNING" | ||
ignore_roles = [ | ||
"func", "class", "term", "ref", "doc", "gh", "file", "samp", "meth", "mod", "kbd", | ||
"newcontrib", "footcite", "footcite:t", "eq", "py:mod", "attr", "py:class", "exc", | ||
"func", | ||
"class", | ||
"term", | ||
"ref", | ||
"doc", | ||
"gh", | ||
"file", | ||
"samp", | ||
"meth", | ||
"mod", | ||
"kbd", | ||
"newcontrib", | ||
"footcite", | ||
"footcite:t", | ||
"eq", | ||
"py:mod", | ||
"attr", | ||
"py:class", | ||
"exc", | ||
] | ||
ignore_directives = [ | ||
"rst-class", "tab-set", "grid", "toctree", "footbibliography", "autosummary", | ||
"currentmodule", "automodule", "cssclass", "tabularcolumns", "minigallery", | ||
"autoclass", "highlight", "dropdown", "graphviz", "glossary", "autofunction", | ||
"rst-class", | ||
"tab-set", | ||
"grid", | ||
"toctree", | ||
"footbibliography", | ||
"autosummary", | ||
"currentmodule", | ||
"automodule", | ||
"cssclass", | ||
"tabularcolumns", | ||
"minigallery", | ||
"autoclass", | ||
"highlight", | ||
"dropdown", | ||
"graphviz", | ||
"glossary", | ||
"autofunction", | ||
"bibliography", | ||
] | ||
ignore_messages = "^.*(Unknown target name|Undefined substitution referenced)[^`]*$" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.