-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
131 lines (117 loc) · 3.27 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[build-system]
requires = ['setuptools>=42', 'cffi>=1.0.0', 'versioneer[toml]']
build-backend = 'setuptools.build_meta'
[project]
name = 'picachooser'
description = 'Lightweight GUI for sorting, classifying, and matching MELODIC ICA components.'
keywords = ['fMRI', 'ICA', 'component matching', 'visualization']
license = {text = 'Apache Software License'}
authors = [
{ name='Blaise Frederick', email='[email protected]' },
]
readme = 'README.rst'
classifiers = [
'Operating System :: OS Independent',
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Image Recognition',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
]
requires-python = '>=3.9'
dependencies = [
'numpy',
'scipy',
'pandas',
'nibabel',
'pyqtgraph>=0.13.4',
'pyqt6-sip',
'pyqt6',
'pillow',
]
dynamic = ['version']
[project.urls]
'Homepage' = 'https://github.com/bbfrederick/picachooser'
'Bug Tracker' = 'https://github.com/bbfrederick/picachooser/issues'
'Repository' = 'https://github.com/bbfrederick/picachooser.git'
'Documentation' = 'https://picachooser.readthedocs.io'
'Changelog' = 'https://github.com/bbfrederick/picachooser/blob/main/CHANGELOG.md'
[project.optional-dependencies]
test = [
'codecov',
'coverage',
'coveralls',
'flake8-black',
'pytest',
'pytest-cov',
]
doc = [
'sphinx',
'sphinx_rtd_theme',
'sphinx-argparse',
'sphinx-gallery',
'm2r',
'numpydoc',
'recommonmark',
'mistune',
]
[project.scripts]
PICAchooser = 'picachooser.scripts.PICAchooser:entrypoint'
PICAchooser_dispatcher = 'picachooser.scripts.PICAchooser_dispatcher:entrypoint'
grader = 'picachooser.scripts.grader:entrypoint'
melodicomp = 'picachooser.scripts.melodicomp:entrypoint'
rtgrader = 'picachooser.scripts.rtgrader:entrypoint'
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ['picachooser']
[tool.setuptools.package-data]
picachooser = ['picachooser/*.py', 'picachooser/scripts/*']
[tool.setuptools.dynamic]
version = {attr = 'picachooser.__version__'}
[tool.setuptools.exclude-package-data]
picachooser = ['.eggs', '.git', '.github', '.pytest_cache']
# Aliases
docs = ['picachooser[doc]']
tests = ['picachooser[test]']
all = ['picachooser[docs,tests]']
[tool.black]
line-length = 99
target-version = ['py39']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.github
| \.hg
| \.pytest_cache
| _build
| build
| dist
)/
| get_version.py
| versioneer.py
| picachooser/_version.py
)
'''
[tool.isort]
profile = 'black'
multi_line_output = 3
[tool.versioneer]
VCS = 'git'
style = 'pep440'
versionfile_source = 'picachooser/_version.py'
versionfile_build = 'picachooser/_version.py'
tag_prefix = 'v'
parentdir_prefix = 'picachooser-'
[tool.codespell]
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
skip = '.git*,versioneer.py,*.css,exportlist.txt,data,*.bib'
check-hidden = true
ignore-regex = '\bsubjeT\b'
ignore-words-list = 'thex,normall'