Skip to content

Commit

Permalink
MNT: Switch over to pyproject.toml for package info
Browse files Browse the repository at this point in the history
  • Loading branch information
dopplershift committed Oct 31, 2024
1 parent be4124f commit 4a34d6f
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 81 deletions.
60 changes: 59 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,63 @@
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"]
requires = ["setuptools>=61", "wheel", "setuptools_scm[toml]>=3.4"]
build-backend = "setuptools.build_meta"

[project]
name = "siphon"
description = "A collection of Python utilities for interacting with the Unidata technology stack."
readme = "README.rst"
dynamic = ["version"]
maintainers = [{name = "Siphon Developers", email = "[email protected]"}]
license = {text = "BSD-3-Clause"}
keywords = ["meteorology", "weather"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"License :: OSI Approved :: BSD License"
]
requires-python = ">=3.10"
dependencies = [
"beautifulsoup4>=4.6",
"numpy>=1.16",
"pandas>=0.25.0",
"protobuf>=3.7.0",
"requests>=2.21.0"
]

[project.optional-dependencies]
doc = [
"sphinx>=3.0",
"sphinx-gallery>=0.4",
"myst-parser",
"sphinx-rtd-theme"
]
examples = [
"matplotlib>=1.3",
"cartopy>=0.13.1",
"scipy"
]
test = [
"pytest>=5.0",
"netCDF4>=1.1.0",
"vcrpy~=1.5,!=1.7.0,!=1.7.1,!=1.7.2,!=1.7.3",
"xarray>=0.10.2"
]
extras = [
"xarray>=0.10.2"
]

[project.urls]
"homepage" = "https://github.com/Unidata/siphon"
"Documentation" = "https://unidata.github.io/siphon/"
"Release Notes" = "https://github.com/Unidata/siphon/releases"
"Bug Tracker" = "https://github.com/Unidata/siphon/issues"
"Source Code" = "https://github.com/Unidata/siphon"

[tool.setuptools_scm]
version_scheme = "post-release"
80 changes: 0 additions & 80 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,83 +1,3 @@
[metadata]
name = siphon
description = A collection of Python utilities for interacting with the Unidata technology stack.
description_file = README.rst
author = Unidata Development Team
author_email = [email protected]
maintainer = Siphon Developers
maintainer_email = [email protected]
license = BSD 3-Clause
license_file = LICENSE
platform = any
keywords = meteorology, weather
classifiers =
Development Status :: 3 - Alpha
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: Scientific/Engineering
Intended Audience :: Science/Research
Operating System :: OS Independent
License :: OSI Approved :: BSD Licens
url = https://github.com/Unidata/siphon
project_urls =
Documentation = https://unidata.github.io/siphon/
Release Notes = https://github.com/Unidata/siphon/releases
Bug Tracker = https://github.com/Unidata/siphon/issues
Source Code = https://github.com/Unidata/siphon

[options]
package_dir =
= src
packages = find:
python_requires = >=3.6
install_requires =
beautifulsoup4>=4.6
numpy>=1.16
pandas>=0.25.0
protobuf>=3.7.0
requests>=2.21.0

[options.packages.find]
where = src

[options.extras_require]
test =
pytest
pytest-flake8
pytest-runner
netCDF4>=1.1.0
flake8>3.2.0
flake8-builtins
flake8-comprehensions
flake8-copyright
flake8-docstrings
flake8-import-order
flake8-mutable
flake8-pep3101
flake8-print
flake8-quotes
flake8-rst-docstrings
pep8-naming
vcrpy~=1.5,!=1.7.0,!=1.7.1,!=1.7.2,!=1.7.3
xarray>=0.10.2
doc =
sphinx>=1.3,!=1.6.4
sphinx-gallery
doc8
m2r
# SciPy needed for cartopy; we don't use cartopy[plotting] because
# that will pull in GDAL.
examples =
matplotlib>=1.3
cartopy>=0.13.1
scipy
metpy
netcdf = netCDF4>=1.1.0
dev = ipython[all]>=3.1

[flake8]
max-line-length = 95
application-import-names = siphon
Expand Down

0 comments on commit 4a34d6f

Please sign in to comment.