Files
md_to_gost/pyproject.toml
T
Igor20264 510f7e7adf
Python application / build (push) Waiting to run
v0.5.2
Что то сделал
2026-09-08 19:37:54 +03:00

94 lines
2.6 KiB
TOML

[project]
name = "md2gost"
version = "0.1.0"
description = "Markdown to DOCX (MIREA TZ / GOST 7.32)"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"python-docx>=0.8.11,<1",
"marko>=2.0.0,<3",
"docxcompose>=1.4.0,<2",
"freetype-py>=2.4.0,<3",
"pillow>=10.0.0,<11",
"requests>=2.31.0,<3",
"latex2mathml>=3.76.0,<4",
"pygments>=2.16.1,<3",
"lxml>=4.9,<6",
"mermaidx>=0.9.0,<1",
"playwright>=1.40.0,<2",
"data-flow-diagram>=1.16.0,<2",
]
[project.scripts]
md2gost = "md2gost.__main__:main"
md2gost-gui = "md2gost.gui:main"
md2latex = "md2latex.__main__:main"
md2fodt = "md2fodt.__main__:main"
word2md = "word2md.__main__:main"
[dependency-groups]
dev = [
"pytest>=7.0",
]
[project.optional-dependencies]
word = [
"pywin32>=306; sys_platform == 'win32'",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["md2gost", "md2latex", "md2fodt", "word2md"]
[tool.hatch.build.targets.wheel.force-include]
"md2gost/Template.docx" = "md2gost/Template.docx"
"md2gost/TitleTemplate.docx" = "md2gost/TitleTemplate.docx"
"md2gost/mml2omml" = "md2gost/mml2omml"
"md2gost/diagrams" = "md2gost/diagrams"
"latex/mirea" = "latex/mirea"
"prompts/generate-md.md" = "md2gost/prompts/generate-md.md"
"prompts/generate-mirea-report.md" = "md2gost/prompts/generate-mirea-report.md"
"prompts/generate-pis-custom-report.md" = "md2gost/prompts/generate-pis-custom-report.md"
"prompts/emulate-student.md" = "md2gost/prompts/emulate-student.md"
"docs/README.md" = "md2gost/docs/README.md"
"docs/quickstart.md" = "md2gost/docs/quickstart.md"
"docs/markdown.md" = "md2gost/docs/markdown.md"
"docs/schemes.md" = "md2gost/docs/schemes.md"
"docs/archimate.md" = "md2gost/docs/archimate.md"
"docs/types.md" = "md2gost/docs/types.md"
"docs/cli-gui.md" = "md2gost/docs/cli-gui.md"
"docs/title.md" = "md2gost/docs/title.md"
"docs/styles.md" = "md2gost/docs/styles.md"
"docs/prompts.md" = "md2gost/docs/prompts.md"
"docs/word2md.md" = "md2gost/docs/word2md.md"
# Legacy Poetry metadata (optional; prefer uv + [project] above)
[tool.poetry]
name = "md2gost"
version = "0.1.0"
description = ""
authors = ["witelokk <death.thunder@yandex.ru>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
python-docx = "^0.8.11"
marko = "^2.0.0"
docxcompose = "^1.4.0"
freetype-py = "^2.4.0"
pillow = "^10.0.0"
matplotlib = { version = "3.7.2", platform = "!= linux" }
requests = "^2.31.0"
latex2mathml = "^3.76.0"
pygments = "^2.16.1"
mermaidx = "^0.9.0"
playwright = "^1.40.0"
data-flow-diagram = "^1.16.0"
[tool.poetry.scripts]
md2gost = "md2gost.__main__:main"
md2gost-gui = "md2gost.gui:main"