11[build-system ]
22build-backend = " setuptools.build_meta"
33requires = [
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' " ,
77 " setuptools>=61" ,
88]
99
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 = " \
1215netCDF version 4 has many features not found in earlier versions of the library,
1316such as hierarchical groups, zlib compression, multiple unlimited dimensions,
1417and new data types. It is implemented on top of HDF5. This module implements
1518most of the new features, and can read and write netCDF files compatible with
1619older versions of the library. The API is modelled after Scientific.IO.NetCDF,
1720and 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+ "
2422keywords = [
2523 " climate" ,
2624 " data" ,
@@ -31,9 +29,9 @@ keywords = [
3129 " oceanography" ,
3230 " science" ,
3331]
34- license = {text = " MIT" }
32+ license = { text = " MIT" }
3533authors = [
36- {
name =
" Jeff Whitaker" ,
email =
" [email protected] " },
34+ {
name =
" Jeff Whitaker" ,
email =
" [email protected] " },
3735]
3836requires-python = " >=3.8"
3937classifiers = [
@@ -59,24 +57,27 @@ dependencies = [
5957 " cftime" ,
6058 " numpy" ,
6159]
62- [project .optional-dependencies ]
63- tests = [
64- " Cython" ,
60+ optional-dependencies.tests = [
61+ " cython" ,
6562 " packaging" ,
6663 " pytest" ,
6764]
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"
7870[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+ ]
8079
8180[tool .pytest .ini_options ]
82- pythonpath = [" test" ]
81+ pythonpath = [
82+ " test" ,
83+ ]
0 commit comments