-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bump version, merge pull request #19 from AMYPAD/devel
- Loading branch information
Showing
15 changed files
with
193 additions
and
233 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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
*.py[cod] | ||
__pycache__/ | ||
/spm12/_dist_ver.py | ||
/.eggs/ | ||
/*.egg-info/ | ||
/*.egg*/ | ||
/build/ | ||
/dist/ | ||
/.coverage* | ||
/coverage.xml | ||
/.pytest_cache/ |
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 |
---|---|---|
|
@@ -6,6 +6,84 @@ build-backend = "setuptools.build_meta" | |
write_to = "spm12/_dist_ver.py" | ||
write_to_template = "__version__ = '{version}'\n" | ||
|
||
[tool.black] | ||
target_version = ["py36", "py310"] | ||
[tool.setuptools.packages.find] | ||
exclude = ["tests"] | ||
|
||
[tool.setuptools.package-data] | ||
"*" = ["*.md", "*.rst", "*.m"] | ||
|
||
[project.urls] | ||
documentation = "https://github.com/AMYPAD/SPM12/#SPM12" | ||
repository = "https://github.com/AMYPAD/SPM12" | ||
changelog = "https://github.com/AMYPAD/SPM12/releases" | ||
upstream-project = "https://www.fil.ion.ucl.ac.uk/spm" | ||
|
||
[project] | ||
name = "spm12" | ||
dynamic = ["version"] | ||
maintainers = [{name = "Casper da Costa-Luis", email = "[email protected]"}] | ||
description = "Statistical Parametric Mapping" | ||
readme = "README.rst" | ||
requires-python = ">=3.7" | ||
keywords = ["fMRI", "PET", "SPECT", "EEG", "MEG"] | ||
license = {text = "Apache-2.0"} | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Education", | ||
"Intended Audience :: Healthcare Industry", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: Microsoft :: Windows", | ||
"Operating System :: POSIX :: Linux", | ||
"Programming Language :: Other Scripting Engines", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Topic :: Scientific/Engineering :: Medical Science Apps.", | ||
"Topic :: Software Development :: Libraries", | ||
"Topic :: System :: Installation/Setup"] | ||
dependencies = ['importlib_resources; python_version < "3.9"', "argopt", "miutil[nii,web]>=0.12.0", "numpy", "scipy"] | ||
|
||
[project.optional-dependencies] | ||
dev = ["pytest>=6", "pytest-cov", "pytest-timeout", "pytest-xdist"] | ||
demo = ["miutil[plot]>=0.3.0", "matplotlib"] | ||
|
||
[project.scripts] | ||
spm12 = "spm12.cli:main" | ||
|
||
[tool.flake8] | ||
max_line_length = 99 | ||
extend_ignore = ["E261"] | ||
exclude = [".git", "__pycache__", "build", "dist", ".eggs"] | ||
|
||
[tool.yapf] | ||
spaces_before_comment = [15, 20] | ||
arithmetic_precedence_indication = true | ||
allow_split_before_dict_value = false | ||
coalesce_brackets = true | ||
column_limit = 99 | ||
each_dict_entry_on_separate_line = false | ||
space_between_ending_comma_and_closing_bracket = false | ||
split_before_named_assigns = false | ||
split_before_closing_bracket = false | ||
blank_line_before_nested_class_or_def = false | ||
|
||
[tool.isort] | ||
profile = "black" | ||
line_length = 99 | ||
multi_line_output = 4 | ||
known_first_party = ["spm12", "tests"] | ||
|
||
[tool.pytest.ini_options] | ||
minversion = "6.0" | ||
timeout = 300 | ||
log_level = "INFO" | ||
python_files = ["tests/test_*.py"] | ||
testpaths = ["tests"] | ||
addopts = "-v --tb=short -rxs -W=error --log-level=debug -n=auto --durations=0 --durations-min=1 --cov=spm12 --cov-report=term-missing --cov-report=xml" | ||
filterwarnings = ["ignore:numpy.ufunc size changed.*:RuntimeWarning"] |
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
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
Oops, something went wrong.