mcilspy/pyproject.toml
Ryan Malloy 7d784af17c refactor: address major code review findings
- Use importlib.metadata for dynamic version (single source in pyproject.toml)
- Clean up duplicate `import re` statements across modules
- Add missing type hints to all public methods
- Fix PATH auto-discovery for ilspycmd (~/.dotnet/tools)
- Add pytest test suite with 35 tests covering models, metadata reader, wrapper
- Bump version to 0.2.0, add CHANGELOG.md
2026-02-07 02:05:57 -07:00

76 lines
1.9 KiB
TOML

[project]
name = "mcilspy"
version = "0.2.0"
description = "MCP Server for ILSpy .NET Decompiler"
authors = [
{name = "Ryan Malloy", email = "ryan@supported.systems"}
]
dependencies = [
"mcp>=1.0.0",
"pydantic>=2.7.0",
"dnfile>=0.15.0", # Direct .NET metadata parsing
]
requires-python = ">=3.10"
readme = "README.md"
license = {text = "MIT"}
keywords = ["mcp", "ilspy", "decompiler", "dotnet", "csharp", "reverse-engineering"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Debuggers",
"Topic :: System :: Software Distribution",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"ruff>=0.4.0",
]
[project.urls]
Homepage = "https://git.supported.systems/MCP/mcilspy"
Repository = "https://git.supported.systems/MCP/mcilspy.git"
Issues = "https://git.supported.systems/MCP/mcilspy/issues"
[project.scripts]
mcilspy = "mcilspy.server:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/mcilspy"]
[tool.hatch.build.targets.sdist]
include = [
"/src",
"/README.md",
"/LICENSE",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.ruff]
target-version = "py310"
line-length = 100
src = ["src"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM"]
ignore = ["E501"] # line length handled by formatter
[tool.ruff.format]
quote-style = "double"