Skip to content

Commit

Permalink
Fully migrate from setup.cfg to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoRoth committed Aug 20, 2024
1 parent ea6b433 commit 9a95e8c
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 52 deletions.
62 changes: 57 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,62 @@
[project]
name = "salem"
description = "Geoscientific data I/O and map projections"
authors = [{name = "Fabien Maussion", email = "fabien.maussion@uibk.ac.at"}]
license = {text = "BSD 3-clause"}
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Topic :: Scientific/Engineering :: GIS",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
requires-python = ">=3.8"
dependencies = [
"numpy",
"scipy",
"pyproj",
"joblib",
"netCDF4",
"pandas",
"xarray",
]
dynamic = ["version"]

[tool.setuptools_scm]
fallback_version = "0.3.11"
version_file = "salem/_version.py"

[project.urls]
Homepage = "https://salem.readthedocs.io"
Documentation = "https://salem.readthedocs.io"
Source = "https://github.com/fmaussion/salem"
Tracker = "https://github.com/fmaussion/salem/issues"

[project.readme]
file = "README.rst"
content-type = "text/x-rst; charset=UTF-8"

[build-system]
build-backend = 'setuptools.build_meta'
requires = [
"setuptools>=61",
"setuptools_scm[toml]>=7.0",
"setuptools>=64",
"setuptools_scm>=8",
"wheel",
]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
fallback_version = "0.3.8"
[tool.setuptools]
platforms = ["any"]
include-package-data = true
license-files = ["LICENSE.rst"]

[tool.setuptools.packages.find]
exclude = ["docs"]
namespaces = false

[tool.distutils.bdist_wheel]
universal = 1
47 changes: 0 additions & 47 deletions setup.cfg

This file was deleted.

0 comments on commit 9a95e8c

Please sign in to comment.