From f1cc9659545235a66e2f5322b02fd4d3115367a6 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Wed, 6 Nov 2024 12:11:23 -0600 Subject: [PATCH] Switch to building with hatchling --- MANIFEST.in | 15 --------------- pyproject.toml | 18 ++---------------- 2 files changed, 2 insertions(+), 31 deletions(-) delete mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index 5473bccb..00000000 --- a/MANIFEST.in +++ /dev/null @@ -1,15 +0,0 @@ -include doc/*.rst -include doc/conf.py -include doc/images/*.png -include doc/Makefile - -include README.rst -include LICENSE -include CITATION.cff - -recursive-include contrib *.sh *.py - -prune .github -prune doc/_build -exclude .gitignore -exclude .gitlab-ci.yml diff --git a/pyproject.toml b/pyproject.toml index 335db5d0..43a6ba2d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [build-system] -build-backend = "setuptools.build_meta" +build-backend = "hatchling.build" requires = [ - "setuptools>=63", + "hatchling", ] [project] @@ -53,20 +53,6 @@ Documentation = "https://documen.tician.de/modepy" Homepage = "https://mathema.tician.de/software/modepy" Repository = "https://github.com/inducer/modepy" -[tool.setuptools.packages.find] -include = [ - "modepy*", -] - -[tool.setuptools.package-dir] -# https://github.com/Infleqtion/client-superstaq/pull/715 -"" = "." - -[tool.setuptools.package-data] -modepy = [ - "py.typed", -] - [tool.ruff] preview = true