2
2
build-backend = " setuptools.build_meta"
3
3
requires = [
4
4
" setuptools>=42" ,
5
- " setuptools_scm " ,
5
+ " setuptools-scm " ,
6
6
" wheel" ,
7
7
]
8
8
9
9
[project ]
10
10
name = " eofs"
11
11
description = " EOF analysis in Python"
12
- license = {text = " GPL-3.0" }
12
+ license = { text = " GPL-3.0" }
13
13
authors = [
14
- { name =
" Andrew Dawson" ,
email =
" [email protected] " },
14
+ { name =
" Andrew Dawson" ,
email =
" [email protected] " },
15
15
]
16
16
requires-python = " >=3.8"
17
17
classifiers = [
@@ -21,52 +21,51 @@ classifiers = [
21
21
" Programming Language :: Python :: 3.10" ,
22
22
" Programming Language :: Python :: 3.11" ,
23
23
" Programming Language :: Python :: 3.12" ,
24
+ " Programming Language :: Python :: 3.13" ,
24
25
]
25
26
dynamic = [
26
- " version" ,
27
27
" readme" ,
28
+ " version" ,
28
29
]
29
30
dependencies = [
30
31
" numpy" ,
31
32
]
32
- [project .optional-dependencies ]
33
- iris = [" scitools-iris" ]
34
- xarray = [" xarray" ]
35
- [project .urls ]
36
- documentation = " https://ajdawson.github.io/eofs"
37
- homepage = " https://github.com/ajdawson/eofs"
38
- repository = " https://github.com/ajdawson/eofs"
33
+ optional-dependencies.iris = [
34
+ " scitools-iris" ,
35
+ ]
36
+ optional-dependencies.xarray = [
37
+ " xarray" ,
38
+ ]
39
+ urls.documentation = " https://ajdawson.github.io/eofs"
40
+ urls.homepage = " https://github.com/ajdawson/eofs"
41
+ urls.repository = " https://github.com/ajdawson/eofs"
39
42
40
43
[tool .setuptools ]
41
- license-files = [" COPYING" ]
44
+ license-files = [ " COPYING" ]
42
45
include-package-data = true
43
46
[tool .setuptools .packages .find ]
44
- where = [" lib" ]
47
+ where = [ " lib" ]
45
48
[tool .setuptools .package-data ]
46
49
eofs_examples = [
47
50
" example_data/*" ,
48
51
]
49
- eofs_tests = [" data/*" ]
52
+ eofs_tests = [ " data/*" ]
50
53
[tool .setuptools .dynamic ]
51
- readme = {file = " README.md" , content-type = " text/markdown" }
54
+ readme = { file = " README.md" , content-type = " text/markdown" }
52
55
53
56
[tool .setuptools_scm ]
54
57
write_to = " lib/eofs/_version.py"
55
58
write_to_template = " __version__ = '{version}'"
56
59
tag_regex = " ^(?P<prefix>v)?(?P<version>[^\\ +]+)(?P<suffix>.*)?$"
57
60
58
61
[tool .ruff ]
59
- select = [
60
- " E" , # pycodecstyle
62
+ lint. select = [
63
+ " E" , # pycodecstyle
61
64
]
62
- [tool .ruff .per-file-ignores ]
63
- "doc/conf.py" = [
65
+ lint.per-file-ignores."doc/conf.py" = [
64
66
" E401" ,
65
67
" E402" ,
66
68
]
67
- "doc/devguide/gitwash_dumper.py" = [
68
- " E714" ,
69
- ]
70
69
71
70
[tool .pytest .ini_options ]
72
71
addopts = " -vrsx"
0 commit comments