Skip to content

Commit

Permalink
re-run lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed May 13, 2024
1 parent 2076c65 commit 8cae84c
Showing 1 changed file with 29 additions and 28 deletions.
57 changes: 29 additions & 28 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,26 +1,24 @@
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"Cython>=0.29",
'numpy>=2.0.0rc1; python_version >= "3.9"',
'oldest-supported-numpy; python_version < "3.9"',
"cython>=0.29",
"numpy>=2.0.0rc1; python_version>='3.9'",
"oldest-supported-numpy; python_version<'3.9'",
"setuptools>=61",
]

[project.readme]
text = """\
[project]
name = "netcdf4"
description = "Provides an object-oriented python interface to the netCDF version 4 library"
readme.content-type = "text/x-rst"
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"
"
keywords = [
"climate",
"data",
Expand All @@ -31,9 +29,9 @@ keywords = [
"oceanography",
"science",
]
license = {text = "MIT"}
license = { text = "MIT" }
authors = [
{name = "Jeff Whitaker", email = "[email protected]"},
{ name = "Jeff Whitaker", email = "[email protected]" },
]
requires-python = ">=3.8"
classifiers = [
Expand All @@ -59,24 +57,27 @@ dependencies = [
"cftime",
"numpy",
]
[project.optional-dependencies]
tests = [
"Cython",
optional-dependencies.tests = [
"cython",
"packaging",
"pytest",
]
[project.urls]
Documentation = "https://unidata.github.io/netcdf4-python/"
Repository = "https://github.com/Unidata/netcdf4-python"
[project.scripts]
nc3tonc4 = "netCDF4.utils:nc3tonc4"
nc4tonc3 = "netCDF4.utils:nc4tonc3"
ncinfo = "netCDF4.utils:ncinfo"
[tool.setuptools.packages.find]
where = ["src"]

urls.Documentation = "https://unidata.github.io/netcdf4-python/"
urls.Repository = "https://github.com/Unidata/netcdf4-python"
scripts.nc3tonc4 = "netCDF4.utils:nc3tonc4"
scripts.nc4tonc3 = "netCDF4.utils:nc4tonc3"
scripts.ncinfo = "netCDF4.utils:ncinfo"
[tool.setuptools.package-data]
"netCDF4.plugins" = ["lib__nc*"]
"netCDF4.plugins" = [
"lib__nc*",
]

[tool.setuptools.packages.find]
where = [
"src",
]

[tool.pytest.ini_options]
pythonpath = ["test"]
pythonpath = [
"test",
]

0 comments on commit 8cae84c

Please sign in to comment.