Skip to content

Commit

Permalink
Merge pull request #1266 from mwtoews/pyproject-readme
Browse files Browse the repository at this point in the history
Re-arrange pyproject.toml readme to be compatible with older parsers
  • Loading branch information
jswhit authored Jul 10, 2023
2 parents fdef8f5 + 5d66b06 commit e1d3c1f
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@ build-backend = "setuptools.build_meta"
[project]
name = "netCDF4"
description = "Provides an object-oriented python interface to the netCDF version 4 library"
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"}
authors = [
{name = "Jeff Whitaker", email = "[email protected]"},
]
Expand Down Expand Up @@ -47,6 +39,17 @@ dependencies = [
]
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"

[project.scripts]
nc3tonc4 = "netCDF4.utils:nc3tonc4"
nc4tonc3 = "netCDF4.utils:nc4tonc3"
Expand Down

0 comments on commit e1d3c1f

Please sign in to comment.