Skip to content

Commit

Permalink
Make release
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Li <[email protected]>
  • Loading branch information
adam2392 committed Dec 6, 2023
1 parent 282a303 commit c24f938
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
3 changes: 1 addition & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: <https://pypi.org/help/#apitoken>
Expand Down
21 changes: 9 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 = [
Expand All @@ -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 = [
Expand All @@ -41,8 +41,8 @@ maintainers = [
{email = '[email protected]', 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]
Expand Down Expand Up @@ -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']
Expand Down

0 comments on commit c24f938

Please sign in to comment.