From 4aaacf55f4a7a5cd153a756e1ee3fec1551ed008 Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Thu, 19 Oct 2023 19:57:55 -0300 Subject: [PATCH] https://github.com/tox-dev/pyproject-fmt/issues/110\#issuecomment-1672205072 --- pyproject.toml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) 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"]