11[build-system ]
2+ build-backend = " setuptools.build_meta"
3+
24requires = [
3- " Cython>=0.29" ,
4- " oldest-supported-numpy ; python_version < '3.9'" ,
5- " numpy>=2.0.0rc1 ; python_version >= '3.9'" ,
6- " setuptools>=61" , " setuptools_scm[toml]>=3.4"
5+ " cython>=0.29" ,
6+ " numpy>=2.0.0rc1; python_version>='3.9'" ,
7+ " oldest-supported-numpy; python_version<'3.9'" ,
8+ " setuptools>=61" ,
9+ " setuptools-scm[toml]>=3.4" ,
710]
8- build-backend = " setuptools.build_meta"
911
1012[project ]
11- name = " netCDF4 "
13+ name = " netcdf4 "
1214description = " Provides an object-oriented python interface to the netCDF version 4 library"
15+ readme.content-type = " text/x-rst"
16+ readme.text = """ \
17+ netCDF version 4 has many features not found in earlier versions of the library,
18+ such as hierarchical groups, zlib compression, multiple unlimited dimensions,
19+ and new data types. It is implemented on top of HDF5. This module implements
20+ most of the new features, and can read and write netCDF files compatible with
21+ older versions of the library. The API is modelled after Scientific.IO.NetCDF,
22+ and should be familiar to users of that module.
23+ """
24+ keywords = [
25+ " climate" ,
26+ " data" ,
27+ " meteorology" ,
28+ " netcdf" ,
29+ " network" ,
30+ " numpy" ,
31+ " oceanography" ,
32+ " science" ,
33+ ]
34+ license = { text = " MIT" }
1335authors = [
14- {
name =
" Jeff Whitaker" ,
email =
" [email protected] " },
36+ {
name =
" Jeff Whitaker" ,
email =
" [email protected] " },
1537]
1638requires-python = " >=3.8"
17- keywords = [
18- " numpy" , " netcdf" , " data" , " science" , " network" , " oceanography" ,
19- " meteorology" , " climate" ,
20- ]
21- license = {text = " MIT" }
2239classifiers = [
23- " Development Status :: 3 - Alpha" ,
24- " Programming Language :: Python :: 3" ,
25- " Programming Language :: Python :: 3.8" ,
26- " Programming Language :: Python :: 3.9" ,
27- " Programming Language :: Python :: 3.10" ,
28- " Programming Language :: Python :: 3.11" ,
29- " Programming Language :: Python :: 3.12" ,
30- " Intended Audience :: Science/Research" ,
31- " License :: OSI Approved :: MIT License" ,
32- " Topic :: Software Development :: Libraries :: Python Modules" ,
33- " Topic :: System :: Archiving :: Compression" ,
34- " Operating System :: OS Independent" ,
40+ " Development Status :: 3 - Alpha" ,
41+ " Intended Audience :: Science/Research" ,
42+ " License :: OSI Approved :: MIT License" ,
43+ " Operating System :: OS Independent" ,
44+ " Programming Language :: Python :: 3 :: Only" ,
45+ " Programming Language :: Python :: 3.8" ,
46+ " Programming Language :: Python :: 3.9" ,
47+ " Programming Language :: Python :: 3.10" ,
48+ " Programming Language :: Python :: 3.11" ,
49+ " Programming Language :: Python :: 3.12" ,
50+ " Programming Language :: Python :: 3.13" ,
51+ " Topic :: Software Development :: Libraries :: Python Modules" ,
52+ " Topic :: System :: Archiving :: Compression" ,
3553]
54+ dynamic = [ " version" ]
55+
3656dependencies = [
37- " cftime " ,
38- " certifi " ,
39- " numpy" ,
57+ " certifi " ,
58+ " cftime " ,
59+ " numpy" ,
4060]
41- dynamic = [" version" ]
42-
43- [project .optional-dependencies ]
44- tests = [
45- " Cython" ,
61+ optional-dependencies.tests = [
62+ " cython" ,
4663 " packaging" ,
4764 " pytest" ,
4865]
49-
50- [project .readme ]
51- text = """ \
52- netCDF version 4 has many features not found in earlier versions of the library,
53- such as hierarchical groups, zlib compression, multiple unlimited dimensions,
54- and new data types. It is implemented on top of HDF5. This module implements
55- most of the new features, and can read and write netCDF files compatible with
56- older versions of the library. The API is modelled after Scientific.IO.NetCDF,
57- and should be familiar to users of that module.
58- """
59- content-type = " text/x-rst"
60-
61- [project .scripts ]
62- nc3tonc4 = " netCDF4.utils:nc3tonc4"
63- nc4tonc3 = " netCDF4.utils:nc4tonc3"
64- ncinfo = " netCDF4.utils:ncinfo"
65-
66- [project .urls ]
67- Documentation = " https://unidata.github.io/netcdf4-python/"
68- Repository = " https://github.com/Unidata/netcdf4-python"
66+ urls.Documentation = " https://unidata.github.io/netcdf4-python/"
67+ urls.Repository = " https://github.com/Unidata/netcdf4-python"
68+ scripts.nc3tonc4 = " netCDF4.utils:nc3tonc4"
69+ scripts.nc4tonc3 = " netCDF4.utils:nc4tonc3"
70+ scripts.ncinfo = " netCDF4.utils:ncinfo"
6971
7072[tool .setuptools .packages .find ]
71- where = [" src" ]
73+ where = [ " src" ]
7274
7375[tool .setuptools .package-data ]
74- "netCDF4.plugins" = [" lib__nc*" ]
76+ "netCDF4.plugins" = [ " lib__nc*" ]
7577
7678[tool .setuptools_scm ]
7779
7880[tool .pytest .ini_options ]
79- pythonpath = [" test" ]
81+ pythonpath = [ " test" ]
8082filterwarnings = [
81- " error" ,
82- " ignore::UserWarning" ,
83+ " error" ,
84+ " ignore::UserWarning" ,
8385]
8486
8587[tool .mypy ]
86- files = [" src/netCDF4" ]
88+ files = [ " src/netCDF4" ]
8789exclude = " utils.py"
8890check_untyped_defs = true
8991allow_redefinition = true
@@ -97,5 +99,5 @@ module = [
9799 " cftime.*" ,
98100 " cython.*" ,
99101 " filter_availability" ,
100- " matplotlib.*"
102+ " matplotlib.*" ,
101103]
0 commit comments