diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b01657a3..22358645 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -85,7 +85,7 @@ Then one could plot the memory usage: 4. Upload to Test PyPi - twine upload --repository-url https://test.pypi.org/legacy/ dist/* + twine upload dist/* --repository-url https://test.pypi.org/legacy/ --repository mne-connectivity 5. Build docs locally @@ -97,7 +97,6 @@ Then one could plot the memory usage: 7. Make release to PyPi - twine upload dist/* or if you have two-factor authentication enabled: diff --git a/doc/_static/versions.json b/doc/_static/versions.json index 1f77c40f..133470cb 100644 --- a/doc/_static/versions.json +++ b/doc/_static/versions.json @@ -1,14 +1,19 @@ [ { - "name": "0.6 (devel)", + "name": "0.7 (devel)", "version": "dev", "url": "https://mne.tools/mne-connectivity/dev/" }, { - "name": "0.5 (stable)", - "version": "0.5", + "name": "0.6", + "version": "stable", "url": "https://mne.tools/mne-connectivity/stable/" }, + { + "name": "0.5", + "version": "0.5", + "url": "https://mne.tools/mne-connectivity/v0.5/" + }, { "name": "0.4", "version": "0.4", diff --git a/doc/whats_new.rst b/doc/whats_new.rst index d21d6468..0199231e 100644 --- a/doc/whats_new.rst +++ b/doc/whats_new.rst @@ -16,17 +16,15 @@ Here we list a changelog of MNE-connectivity. .. _current: -Version 0.6 (unreleased) ------------------------- +Version 0.7 (in dev) +-------------------- + Enhancements ~~~~~~~~~~~~ -- Add the option to set the number of connections plotted in :func:`mne_connectivity.viz.plot_sensors_connectivity` by `Qianliang Li`_ (:pr:`133`). -- Allow setting colormap via new parameter ``cmap`` in :func:`mne_connectivity.viz.plot_sensors_connectivity` by `Daniel McCloy`_ (:pr:`141`). -- Add support for multivariate connectivity methods in :func:`mne_connectivity.spectral_connectivity_epochs` and :func:`mne_connectivity.spectral_connectivity_time` by `Thomas Binns`_ and `Tien Nguyen`_ and `Richard Köhler`_ (:pr:`138`) and (:pr:`142`). - +- Bug ~~~ diff --git a/doc/whats_new_previous_releases.rst b/doc/whats_new_previous_releases.rst index 9932855d..a18ad190 100644 --- a/doc/whats_new_previous_releases.rst +++ b/doc/whats_new_previous_releases.rst @@ -7,6 +7,21 @@ What was new in previous releases? ================================== +Version 0.6 +----------- + +This version introduces new functionality for computing multivariate connectivity methods, championed primarily by +`Thomas Binns`_. The ``spectral_connectivity_time`` and ``spectral_connectivity_epochs`` functions +now supports multivariate connectivity methods. + +Enhancements +~~~~~~~~~~~~ + +- Add the option to set the number of connections plotted in :func:`mne_connectivity.viz.plot_sensors_connectivity` by `Qianliang Li`_ (:pr:`133`). +- Allow setting colormap via new parameter ``cmap`` in :func:`mne_connectivity.viz.plot_sensors_connectivity` by `Daniel McCloy`_ (:pr:`141`). +- Add support for multivariate connectivity methods in :func:`mne_connectivity.spectral_connectivity_epochs` and :func:`mne_connectivity.spectral_connectivity_time` by `Thomas Binns`_ and `Tien Nguyen`_ and `Richard Köhler`_ (:pr:`138`) and (:pr:`142`). + + Version 0.5 (2023-01-13) ------------------------ diff --git a/pyproject.toml b/pyproject.toml index a84ab74f..0bd4cab5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -build-backend = 'setuptools.build_meta' -requires = ['setuptools >= 64.0.0'] +requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2", "wheel"] +build-backend = "setuptools.build_meta" [project] classifiers = [ @@ -20,13 +20,13 @@ classifiers = [ 'Topic :: Software Development', ] dependencies = [ - 'mne >= 1.2', - 'netCDF4', + 'mne >= 1.6', + 'netCDF4 >= 1.6.5', 'numpy >= 1.21', - 'pandas', + 'pandas >= 1.3.2', 'scipy >= 1.4.0', 'tqdm', - 'xarray', + 'xarray >= 2023.11.0', ] description = 'mne-connectivity: A module for connectivity data analysis with MNE.' keywords = [ @@ -41,9 +41,9 @@ maintainers = [ {email = 'adam.li@columbia.edu', name = 'Adam Li'}, ] name = 'mne-connectivity' -readme = 'README.md' -requires-python = '~=3.9' -version = "0.6.0.dev0" +readme = { file='README.rst', content-type = "text/x-rst"} +requires-python = '>=3.9' +version = "0.6.0" [project.optional-dependencies] all = [ @@ -239,10 +239,7 @@ line-length = 88 '__init__.py' = ['F401'] [tool.setuptools] -include-package-data = false - -[tool.setuptools.package-data] -'mne_connectivity.iclabel.network' = ['assets/*'] +include-package-data = true [tool.setuptools.packages.find] exclude = ['mne_connectivity*tests']