From 6e7ea694660af0b6702c21d982d8b2c69fe7dd55 Mon Sep 17 00:00:00 2001
From: Alexandru Fikl <alexfikl@gmail.com>
Date: Sun, 24 Nov 2024 09:30:11 +0100
Subject: [PATCH] pyproject: switch to hatchling

---
 MANIFEST.in    | 10 ----------
 pyproject.toml | 20 ++------------------
 2 files changed, 2 insertions(+), 28 deletions(-)
 delete mode 100644 MANIFEST.in

diff --git a/MANIFEST.in b/MANIFEST.in
deleted file mode 100644
index 1cd7e74..0000000
--- a/MANIFEST.in
+++ /dev/null
@@ -1,10 +0,0 @@
-include doc/*.rst
-include doc/conf.py
-include doc/make.bat
-include doc/Makefile
-prune doc/_*
-
-prune .github
-exclude .gitignore
-exclude .gitlab-ci.yml
-exclude .test-conda-env-py3.yml
diff --git a/pyproject.toml b/pyproject.toml
index 0755deb..0daaa21 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,8 +1,6 @@
 [build-system]
-build-backend = "setuptools.build_meta"
-requires = [
-    "setuptools>=63",
-]
+requires = ["hatchling"]
+build-backend = "hatchling.build"
 
 [project]
 name = "arraycontext"
@@ -57,20 +55,6 @@ test = [
 Documentation = "https://documen.tician.de/arraycontext"
 Homepage = "https://github.com/inducer/arraycontext"
 
-[tool.setuptools.packages.find]
-include = [
-    "arraycontext*",
-]
-
-[tool.setuptools.package-dir]
-# https://github.com/Infleqtion/client-superstaq/pull/715
-"" = "."
-
-[tool.setuptools.package-data]
-pytools = [
-    "py.typed",
-]
-
 [tool.ruff]
 preview = true
 
-- 
GitLab