- ci.yml: ruff lint/format, Linux 3.11/3.12 tests + coverage, Windows mocked-COM leg, package build + clean-venv wheel smoke, Docker smoke, server.json schema validation - release.yml: tag -> test gate -> tag/version check -> build -> PyPI trusted publishing (OIDC) -> GitHub Release - pyproject: SPDX license, authors, keywords, classifiers, project URLs, autocad-mcp-pro console alias; version 1.4.0 - Dockerfile: ship engineering/ + version.py (image previously missed both -> engineering tools failed in containers); healthcheck imports engineering - server.json: MCP registry manifest (io.github.u-c4n/autocad-mcp, pypi package) - docs/RELEASE-DISTRIBUTION.md: one-time owner actions (PyPI trusted publisher, mcp-publisher login) + directory submissions runbook Co-authored-by: Cursor <cursoragent@cursor.com>
96 lines
2.3 KiB
TOML
96 lines
2.3 KiB
TOML
[project]
|
|
name = "autocad-mcp-pro"
|
|
version = "1.4.0"
|
|
description = "Production-grade AutoCAD MCP server — COM API + ezdxf dual engine"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
license = "MIT"
|
|
license-files = ["LICENSE"]
|
|
authors = [
|
|
{ name = "Umutcan Edizsalan" },
|
|
]
|
|
keywords = [
|
|
"autocad",
|
|
"mcp",
|
|
"model-context-protocol",
|
|
"cad",
|
|
"dxf",
|
|
"ezdxf",
|
|
"drafting",
|
|
"engineering-drawing",
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 5 - Production/Stable",
|
|
"Intended Audience :: Developers",
|
|
"Intended Audience :: Manufacturing",
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
"Topic :: Scientific/Engineering",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
]
|
|
dependencies = [
|
|
"fastmcp>=3.0",
|
|
"ezdxf>=1.3",
|
|
"pydantic>=2.0",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/U-C4N/Autocad-MCP"
|
|
Repository = "https://github.com/U-C4N/Autocad-MCP"
|
|
Issues = "https://github.com/U-C4N/Autocad-MCP/issues"
|
|
Changelog = "https://github.com/U-C4N/Autocad-MCP/blob/main/CHANGELOG.md"
|
|
|
|
[project.optional-dependencies]
|
|
com = [
|
|
"pywin32>=306",
|
|
"Pillow>=10.0",
|
|
]
|
|
pdf = [
|
|
"matplotlib>=3.8",
|
|
]
|
|
full = [
|
|
"pywin32>=306",
|
|
"Pillow>=10.0",
|
|
"matplotlib>=3.8",
|
|
]
|
|
|
|
[project.scripts]
|
|
autocad-mcp = "server:main"
|
|
# Alias matching the PyPI distribution name so `uvx autocad-mcp-pro` works
|
|
# without a --from indirection (MCP registry / uvx convention).
|
|
autocad-mcp-pro = "server:main"
|
|
|
|
[tool.uv]
|
|
dev-dependencies = [
|
|
"pytest>=8.0",
|
|
"pytest-asyncio>=0.23",
|
|
"pytest-cov>=5.0",
|
|
"ruff>=0.8",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
# Flat layout: no directory matches the project name, so hatchling needs an
|
|
# explicit file selection (GH issue #2). server.py imports config + security.
|
|
only-include = ["server.py", "config.py", "security.py", "version.py", "backends", "engineering"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "W", "UP", "B"]
|
|
ignore = ["E501"]
|
|
|
|
[tool.ruff.format]
|
|
quote-style = "double"
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "strict"
|