diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index 90194e9a..00000000 --- a/MANIFEST.in +++ /dev/null @@ -1,12 +0,0 @@ -include doc/*.sh -include doc/*.rst -include doc/*.tikz -include doc/images/*.png -include doc/Makefile - -include LICENSE -include README.rst - -prune .github -exclude .gitlab-ci.yml -exclude .gitignore diff --git a/boxtree/version.py b/boxtree/version.py index 6920f0f9..3a97f1b4 100644 --- a/boxtree/version.py +++ b/boxtree/version.py @@ -4,7 +4,7 @@ def _parse_version(version: str) -> tuple[tuple[int, ...], str]: import re - m = re.match("^([0-9.]+)([a-z0-9]*?)$", VERSION_TEXT) + m = re.match(r"^([0-9.]+)([a-z0-9]*?)$", VERSION_TEXT) assert m is not None return tuple(int(nr) for nr in m.group(1).split(".")), m.group(2) diff --git a/pyproject.toml b/pyproject.toml index 33bf5119..a9c478d8 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 = "boxtree" @@ -63,11 +61,6 @@ test = [ Documentation = "https://documen.tician.de/boxtree" Repository = "https://github.com/inducer/boxtree" -[tool.setuptools.packages.find] -include = [ - "boxtree*", -] - [tool.ruff] preview = true