From c24f9389d384339e188feb3446cf9dcb3c0bd79e Mon Sep 17 00:00:00 2001 From: Adam Li Date: Wed, 6 Dec 2023 15:58:35 -0500 Subject: [PATCH] Make release Signed-off-by: Adam Li --- CONTRIBUTING.md | 3 +-- pyproject.toml | 21 +++++++++------------ 2 files changed, 10 insertions(+), 14 deletions(-) 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/pyproject.toml b/pyproject.toml index 04b19e1e..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,8 +41,8 @@ maintainers = [ {email = 'adam.li@columbia.edu', name = 'Adam Li'}, ] name = 'mne-connectivity' -readme = 'README.md' -requires-python = '~=3.9' +readme = { file='README.rst', content-type = "text/x-rst"} +requires-python = '>=3.9' version = "0.6.0" [project.optional-dependencies] @@ -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']