From dd1015db877250a27d26a1f67cf49d3a6866fc49 Mon Sep 17 00:00:00 2001 From: Baudouin Raoult Date: Mon, 29 Apr 2024 18:26:52 +0100 Subject: [PATCH] use pyproject.toml --- pyproject.toml | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..d9c5863 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,72 @@ +#!/usr/bin/env python +# (C) Copyright 2024 ECMWF. +# +# This software is licensed under the terms of the Apache Licence Version 2.0 +# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. +# In applying this licence, ECMWF does not waive the privileges and immunities +# granted to it by virtue of its status as an intergovernmental organisation +# nor does it submit to any jurisdiction. + +# https://packaging.python.org/en/latest/guides/writing-pyproject-toml/ + +[build-system] +requires = ["setuptools>=60", "setuptools-scm>=8.0"] + +[project] +description = "A package to hold various functions to support training of ML models." +name = "anemoi-inference" + +dynamic = ["version"] +license = { file = "LICENSE" } +requires-python = ">=3.9" + +authors = [ + { name = "European Centre for Medium-Range Weather Forecasts (ECMWF)", email = "software.support@ecmwf.int" }, +] + +keywords = ["tools", "inference", "ai"] + +classifiers = [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: Apache Software License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: Implementation :: CPython", + "Programming Language :: Python :: Implementation :: PyPy", + "Operating System :: OS Independent", +] + +dependencies = [ + +] + +[project.optional-dependencies] + + +docs = [ + # For building the documentation +] + +all = [ +] + +dev = [ + "sphinx", + "sphinx_rtd_theme", + "nbsphinx", + "pandoc", +] + +[project.urls] +Homepage = "https://github.com/ecmwf/anemoi-inference/" +Documentation = "https://anemoi-inference.readthedocs.io/" +Repository = "https://github.com/ecmwf/anemoi-inference/" +Issues = "https://github.com/ecmwf/anemoi-inference/issues" +# Changelog = "https://github.com/ecmwf/anemoi-inference/CHANGELOG.md" + + +[tool.setuptools_scm] +version_file = "src/anemoi/inference/_version.py"