Skip to content

Commit e08131f

Browse files
authored
chore(pyproject.toml): from setuptools to uv_build as build backend (jxmorris12#171)
1 parent 9b244b0 commit e08131f

2 files changed

Lines changed: 4 additions & 41 deletions

File tree

MANIFEST.in

Lines changed: 0 additions & 34 deletions
This file was deleted.

pyproject.toml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,11 @@ types = [
6363
language_tool_python = "language_tool_python.__main__:main"
6464

6565
[build-system]
66-
requires = ["setuptools>=61.0", "wheel"]
67-
build-backend = "setuptools.build_meta"
66+
requires = ["uv_build>=0.11.14,<0.12"]
67+
build-backend = "uv_build"
6868

69-
[tool.setuptools]
70-
packages = { find = { include = ["language_tool_python*"] } }
71-
72-
[tool.setuptools.package-data]
73-
language_tool_python = ["py.typed", "integrity.toml", "logging.toml"]
69+
[tool.uv.build-backend]
70+
module-root = "" # uv expects the code to be in a "src/" directory by default, but our code is in the the current dir
7471

7572
[tool.ruff.lint]
7673
select = ["F", "W", "I", "B", "SIM", "RET", "Q", "N", "S", "BLE"]

0 commit comments

Comments
 (0)