diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index 5b07d17..0000000 --- a/MANIFEST.in +++ /dev/null @@ -1,34 +0,0 @@ -include pyproject.toml -include README.md -include LICENSE -recursive-include language_tool_python *.py *.toml -include language_tool_python/py.typed - -prune .github/ -prune .mypy_cache/ -prune .pytest-cache/ -prune .ruff_cache/ -prune env/ -prune .env -prune .venv -prune env/ -prune venv/ -prune ENV/ -prune env.bak/ -prune venv.bak/ -prune docs/ -prune htmlcov/ -prune tests/ - -exclude .coverage -exclude .gitignore -exclude .pre-commit-config.yaml -exclude .readthedocs.yaml -exclude CHANGELOG.md -exclude CONTRIBUTING.md -exclude coverage-badge.svg -exclude coverage.xml -exclude make.bat -exclude Makefile -exclude pytest.ini -exclude uv.lock diff --git a/pyproject.toml b/pyproject.toml index 11c785d..480b5bb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,14 +63,11 @@ types = [ language_tool_python = "language_tool_python.__main__:main" [build-system] -requires = ["setuptools>=61.0", "wheel"] -build-backend = "setuptools.build_meta" +requires = ["uv_build>=0.11.14,<0.12"] +build-backend = "uv_build" -[tool.setuptools] -packages = { find = { include = ["language_tool_python*"] } } - -[tool.setuptools.package-data] -language_tool_python = ["py.typed", "integrity.toml", "logging.toml"] +[tool.uv.build-backend] +module-root = "" # uv expects the code to be in a "src/" directory by default, but our code is in the the current dir [tool.ruff.lint] select = ["F", "W", "I", "B", "SIM", "RET", "Q", "N", "S", "BLE"]