Files
iLSP/pyproject.toml
Henrik Jess Nielsen 71738d856e Fix: include azure_roles.json in wheel package data
The pyproject.toml packaging config only included .py files, so
azure_roles.json (682 Azure role names) never made it into the built
wheel/Docker image. This silently broke the 'roles: [...]' array
completion feature in production even though the code and local dev
worked fine (repo files were always on disk locally).

Root-caused via a raw WebSocket JSON-RPC test against production that
returned 0 completion items for a roles array, despite the same logic
returning 682 items when exercised directly against the local module
in this repo.
2026-08-14 17:04:41 +02:00

41 lines
830 B
TOML

[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ilsp"
version = "0.1.0"
description = "i80 LSP server — extends Python and Bicep LSPs with LRU/i80 knowledge"
requires-python = ">=3.11"
dependencies = [
"python-lsp-server[all]>=1.12",
"aiohttp>=3.9",
"lsprotocol>=2023.0",
"pygls>=1.3",
]
[project.entry-points."pylsp"]
ilsp = "ilsp.python_lsp.plugin"
[project.scripts]
ilsp = "ilsp.server:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["ilsp*"]
[tool.setuptools.package-data]
"ilsp.bicep_lsp" = ["*.json"]
"ilsp.yaml_lsp" = ["*.json"]
"ilsp.python_lsp" = ["*.json"]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]