Files
marki-docx/pyproject.toml
Bernd Worsch 6cf973b017 feat: WP-0006 — packaging & distribution infrastructure
CI matrix (Python 3.11/3.12) with pip cache and coverage job. PyPI publish
workflow (OIDC trusted publishing, triggered on v*.*.* tags). Docker image
for REST service with non-root user + ghcr.io push workflow. markidocx
--version flag. Diagram optional extras (diagram-mermaid/graphviz/plantuml)
and readme/urls in pyproject.toml. CHANGELOG.md (Keep a Changelog format)
with retrospective v0.1.0 entry. docs/release-process.md with executable
checklist. All 272 tests pass; ruff and mypy clean; twine check PASSED.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 14:30:08 +00:00

70 lines
1.4 KiB
TOML

[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "markidocx"
version = "0.1.0"
description = "Markdown ↔ DOCX round-trip editing system"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"python-docx>=1.1.0",
"pyyaml>=6.0",
"typer>=0.12",
"rich>=13.0",
"mistune>=3.0",
"fastapi>=0.110",
"uvicorn[standard]>=0.29",
"mcp>=1.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
"ruff>=0.4",
"mypy>=1.10",
"types-PyYAML>=6.0",
"httpx>=0.27",
]
diagram-mermaid = ["nodeenv>=1.8"]
diagram-graphviz = ["graphviz>=0.20"]
diagram-plantuml = []
[project.urls]
Homepage = "https://github.com/tegwick/marki-docx"
Source = "https://github.com/tegwick/marki-docx"
Tracker = "https://github.com/tegwick/marki-docx/issues"
[project.scripts]
markidocx = "markidocx.cli:app"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
markidocx = ["templates/*.docx"]
[tool.setuptools]
license-files = ["LICENSE"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.11"
strict = false
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v"