forked from Deep-MI/LaPy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
180 lines (166 loc) · 3.44 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
[build-system]
requires = ['setuptools >= 61.0.0']
build-backend = 'setuptools.build_meta'
[project]
name = 'lapy'
version = '1.1.0-dev'
description = 'A package for differential geometry on meshes (Laplace, FEM)'
readme = 'README.md'
license = {file = 'LICENSE'}
requires-python = '>=3.8'
authors = [
{name = 'Martin Reuter', email = '[email protected]'},
]
maintainers = [
{name = 'Martin Reuter', email = '[email protected]'},
]
keywords = [
'python',
'Laplace',
'FEM',
'ShapeDNA',
'BrainPrint',
'Triangle Mesh',
'Tetrahedra Mesh',
'Geodesics in Heat',
'Mean Curvature Flow',
]
classifiers = [
'Operating System :: Microsoft :: Windows',
'Operating System :: Unix',
'Operating System :: MacOS',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Science/Research',
]
dependencies = [
'nibabel',
'numpy>=1.21',
'plotly',
'psutil',
'scipy',
]
[project.optional-dependencies]
build = [
'build',
'twine',
]
chol = [
'scikit-sparse',
]
doc = [
'furo!=2023.8.17',
'matplotlib',
'memory-profiler',
'numpydoc',
'sphinx!=7.2.*',
'sphinxcontrib-bibtex',
'sphinx-copybutton',
'sphinx-design',
'sphinx-gallery',
'sphinx-issues',
'pypandoc',
'nbsphinx',
'IPython', # For syntax highlighting in notebooks
'ipykernel',
]
style = [
'bibclean',
'black',
'codespell',
'isort',
'pydocstyle[toml]',
'ruff',
]
test = [
'pytest',
'pytest-cov',
'pytest-timeout',
]
all = [
'lapy[build]',
'lapy[chol]',
'lapy[doc]',
'lapy[style]',
'lapy[test]',
]
full = [
'lapy[all]',
]
[project.urls]
homepage = 'https://Deep-MI.github.io/LaPy/dev/index.html'
documentation = 'https://Deep-MI.github.io/LaPy/dev/index.html'
source = 'https://github.com/Deep-MI/LaPy'
tracker = 'https://github.com/Deep-MI/LaPy/issues'
[project.scripts]
lapy-sys_info = 'lapy.commands.sys_info:run'
[tool.setuptools]
include-package-data = false
[tool.setuptools.packages.find]
include = ['lapy*']
exclude = ['lapy*tests']
[tool.black]
line-length = 88
target-version = ['py38']
include = '\.pyi?$'
extend-exclude = '''
(
__pycache__
| .github
| setup.py
| data/
| doc/
| examples/
| tutorials/
)
'''
[tool.isort]
profile = 'black'
multi_line_output = 3
line_length = 88
py_version = 38
extend_skip_glob = [
'setup.py',
'data/*',
'doc/*',
'examples/*',
'tutorials/*',
]
[tool.pydocstyle]
convention = 'numpy'
ignore-decorators = '(copy_doc|property|.*setter|.*getter|pyqtSlot|Slot)'
match = '^(?!setup|__init__|test_).*\.py'
match-dir = '^lapy.*'
add_ignore = 'D100,D104,D107'
[tool.ruff]
line-length = 88
extend-exclude = [
"doc",
"setup.py",
]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[tool.pytest.ini_options]
minversion = '6.0'
addopts = '--durations 20 --junit-xml=junit-results.xml --verbose'
filterwarnings = []
[tool.coverage.run]
branch = true
cover_pylib = false
omit = [
'**/__init__.py',
'**/lapy/_version.py',
'**/lapy/commands/*',
'**/tests/**',
]
[tool.coverage.report]
exclude_lines = [
'pragma: no cover',
'if __name__ == .__main__.:',
]
precision = 2