diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 000000000..f226c0660 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,40 @@ +[build-system] +requires = ["setuptools"] +build-backend = "setuptools.build_meta" + +[project] +name = "gusto" +version = "1.0" +dependencies = [ + "netCDF4", + "pandas", + "qmat", +] +authors = [ + {name = "The Gusto Team"}, +] +description = "Toolkit for compatible finite element dynamical cores" +readme = "README.md" +license = {file = "LICENSE"} +classifiers = [ + "Programming Language :: Python", +] + +[project.urls] +Homepage = "http://www.firedrakeproject.org/gusto/" +Repository = "https://github.com/firedrakeproject/gusto.git" + +[tool.setuptools] +packages = [ + "gusto", + "gusto.core", + "gusto.diagnostics", + "gusto.equations", + "gusto.initialisation", + "gusto.physics", + "gusto.recovery", + "gusto.solvers", + "gusto.spatial_methods", + "gusto.time_discretisation", + "gusto.timestepping", +] diff --git a/setup.py b/setup.py deleted file mode 100644 index 8f7239293..000000000 --- a/setup.py +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env python - -from setuptools import setup - -setup(name="gusto", - version="1.0", - description="Toolkit for compatible finite element dynamical cores", - author="The Gusto Team", - url="http://www.firedrakeproject.org/gusto/", - packages=["gusto", - "gusto.core", - "gusto.diagnostics", - "gusto.equations", - "gusto.initialisation", - "gusto.physics", - "gusto.recovery", - "gusto.solvers", - "gusto.spatial_methods", - "gusto.time_discretisation", - "gusto.timestepping"])