diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index a5f1bc23..00000000 --- a/MANIFEST.in +++ /dev/null @@ -1,17 +0,0 @@ -include doc/*.rst -include doc/*.sh -include doc/Makefile - -include test/*.step -include test/*.sh -include test/annulus.msh -include test/blob2d*.msh -include test/cubed-cube.msh -include test/gh-394.msh -include test/hybrid-cube.msh -include test/ref-*.pvtu - -prune .ci -prune .github -exclude .gitignore -exclude .gitlab-ci.yml diff --git a/meshmode/version.py b/meshmode/version.py index 6e2608de..19ec52d0 100644 --- a/meshmode/version.py +++ b/meshmode/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 f3173785..1866f38c 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 = "meshmode" @@ -62,20 +60,6 @@ visualization = [ Documentation = "https://documen.tician.de/meshmode" Repository = "https://github.com/inducer/meshmode" -[tool.setuptools.packages.find] -include = [ - "meshmode*", -] - -[tool.setuptools.package-dir] -# https://github.com/Infleqtion/client-superstaq/pull/715 -"" = "." - -[tool.setuptools.package-data] -meshmode = [ - "py.typed", -] - [tool.ruff] preview = true