diff --git a/pyproject.toml b/pyproject.toml index b8f59dd4c..27e62f739 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,6 +6,17 @@ requires = [ "setuptools>=61", ] +[project.readme] +text = """\ +netCDF version 4 has many features not found in earlier versions of the library, +such as hierarchical groups, zlib compression, multiple unlimited dimensions, +and new data types. It is implemented on top of HDF5. This module implements +most of the new features, and can read and write netCDF files compatible with +older versions of the library. The API is modelled after Scientific.IO.NetCDF, +and should be familiar to users of that module. +""" +content-type = "text/x-rst" + [project] name = "netcdf4" description = "Provides an object-oriented python interface to the netCDF version 4 library" @@ -40,16 +51,7 @@ classifiers = [ dynamic = [ "version", ] -[project.readme] -text = """\ -netCDF version 4 has many features not found in earlier versions of the library, -such as hierarchical groups, zlib compression, multiple unlimited dimensions, -and new data types. It is implemented on top of HDF5. This module implements -most of the new features, and can read and write netCDF files compatible with -older versions of the library. The API is modelled after Scientific.IO.NetCDF, -and should be familiar to users of that module. -""" -content-type = "text/x-rst" + dependencies = [ "certifi", "cftime", @@ -68,7 +70,6 @@ Repository = "https://github.com/Unidata/netcdf4-python" nc3tonc4 = "netCDF4.utils:nc3tonc4" nc4tonc3 = "netCDF4.utils:nc4tonc3" ncinfo = "netCDF4.utils:ncinfo" - [tool.setuptools.packages.find] where = ["src"]