-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fully migrate from setup.cfg to pyproject.toml
- Loading branch information
Showing
2 changed files
with
57 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 = "[email protected]"}] | ||
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 |