1
1
[build-system ]
2
2
build-backend = " setuptools.build_meta"
3
3
requires = [
4
- " Cython >=0.29" ,
5
- ' numpy>=2.0.0rc1; python_version >= " 3.9" ' ,
6
- ' oldest-supported-numpy; python_version < " 3.9" ' ,
4
+ " cython >=0.29" ,
5
+ " numpy>=2.0.0rc1; python_version>=' 3.9' " ,
6
+ " oldest-supported-numpy; python_version<' 3.9' " ,
7
7
" setuptools>=61" ,
8
8
]
9
9
10
- [project .readme ]
11
- text = """ \
10
+ [project ]
11
+ name = " netcdf4"
12
+ description = " Provides an object-oriented python interface to the netCDF version 4 library"
13
+ readme.content-type = " text/x-rst"
14
+ readme.text = " \
12
15
netCDF version 4 has many features not found in earlier versions of the library,
13
16
such as hierarchical groups, zlib compression, multiple unlimited dimensions,
14
17
and new data types. It is implemented on top of HDF5. This module implements
15
18
most of the new features, and can read and write netCDF files compatible with
16
19
older versions of the library. The API is modelled after Scientific.IO.NetCDF,
17
20
and should be familiar to users of that module.
18
- """
19
- content-type = " text/x-rst"
20
-
21
- [project ]
22
- name = " netcdf4"
23
- description = " Provides an object-oriented python interface to the netCDF version 4 library"
21
+ "
24
22
keywords = [
25
23
" climate" ,
26
24
" data" ,
@@ -31,9 +29,9 @@ keywords = [
31
29
" oceanography" ,
32
30
" science" ,
33
31
]
34
- license = {text = " MIT" }
32
+ license = { text = " MIT" }
35
33
authors = [
36
- {
name =
" Jeff Whitaker" ,
email =
" [email protected] " },
34
+ {
name =
" Jeff Whitaker" ,
email =
" [email protected] " },
37
35
]
38
36
requires-python = " >=3.8"
39
37
classifiers = [
@@ -59,24 +57,27 @@ dependencies = [
59
57
" cftime" ,
60
58
" numpy" ,
61
59
]
62
- [project .optional-dependencies ]
63
- tests = [
64
- " Cython" ,
60
+ optional-dependencies.tests = [
61
+ " cython" ,
65
62
" packaging" ,
66
63
" pytest" ,
67
64
]
68
- [project .urls ]
69
- Documentation = " https://unidata.github.io/netcdf4-python/"
70
- Repository = " https://github.com/Unidata/netcdf4-python"
71
- [project .scripts ]
72
- nc3tonc4 = " netCDF4.utils:nc3tonc4"
73
- nc4tonc3 = " netCDF4.utils:nc4tonc3"
74
- ncinfo = " netCDF4.utils:ncinfo"
75
- [tool .setuptools .packages .find ]
76
- where = [" src" ]
77
-
65
+ urls.Documentation = " https://unidata.github.io/netcdf4-python/"
66
+ urls.Repository = " https://github.com/Unidata/netcdf4-python"
67
+ scripts.nc3tonc4 = " netCDF4.utils:nc3tonc4"
68
+ scripts.nc4tonc3 = " netCDF4.utils:nc4tonc3"
69
+ scripts.ncinfo = " netCDF4.utils:ncinfo"
78
70
[tool .setuptools .package-data ]
79
- "netCDF4.plugins" = [" lib__nc*" ]
71
+ "netCDF4.plugins" = [
72
+ " lib__nc*" ,
73
+ ]
74
+
75
+ [tool .setuptools .packages .find ]
76
+ where = [
77
+ " src" ,
78
+ ]
80
79
81
80
[tool .pytest .ini_options ]
82
- pythonpath = [" test" ]
81
+ pythonpath = [
82
+ " test" ,
83
+ ]
0 commit comments