1
1
[build-system ]
2
- requires = [" hatchling>=1.25 " ]
3
- build-backend = " hatchling.build "
2
+ requires = [" flit_core >=3.11,<4 " ]
3
+ build-backend = " flit_core.buildapi "
4
4
5
5
[project ]
6
6
name = " yt_idefix"
@@ -9,12 +9,13 @@ description = "An extension module for yt, adding a frontend for Idefix and Plut
9
9
authors = [
10
10
{ name = " C.M.T. Robert" },
11
11
]
12
+ license = " GPL-3.0-only"
13
+ license-files = [" LICENSE" ]
12
14
classifiers = [
13
15
" Development Status :: 5 - Production/Stable" ,
14
16
" Environment :: Console" ,
15
17
" Framework :: Matplotlib" ,
16
18
" Intended Audience :: Science/Research" ,
17
- " License :: OSI Approved :: GNU General Public License v3 (GPLv3)" ,
18
19
" Operating System :: MacOS :: MacOS X" ,
19
20
" Operating System :: POSIX :: AIX" ,
20
21
" Operating System :: POSIX :: Linux" ,
@@ -44,9 +45,6 @@ IdefixVtkDataset = "yt_idefix.api:IdefixVtkDataset"
44
45
PlutoVtkDataset = " yt_idefix.api:PlutoVtkDataset"
45
46
PlutoXdmfDataset = " yt_idefix.api:PlutoXdmfDataset"
46
47
47
- [project .license ]
48
- text = " GPL-3.0"
49
-
50
48
[project .readme ]
51
49
file = " README.md"
52
50
content-type = " text/markdown"
@@ -68,12 +66,6 @@ typecheck = [
68
66
" mypy>=1.13.0" ,
69
67
]
70
68
71
- [tool .hatch .build .targets .sdist ]
72
- exclude = [" .*" ] # exclude dot files (.gitignore is still included)
73
-
74
- [tool .hatch .build ]
75
- exclude = [" tests" ]
76
-
77
69
[tool .ruff .lint ]
78
70
preview = true # needed for RUF031
79
71
explicit-preview-rules = true
0 commit comments