Files
md_to_gost/pyproject.toml
T
Igor20264 818a044aa1
Python application / build (push) Has been cancelled
update 0.4.4
- update документация
- промт для ии полу конфигурируемый
2026-09-06 11:04:01 +03:00

82 lines
2.2 KiB
TOML

[project]
name = "md2gost"
version = "0.1.0"
description = "Markdown to DOCX (MIREA TZ / GOST 7.32)"
readme = "README.md"
requires-python = ">=3.10"
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",
]
[project.scripts]
md2gost = "md2gost.__main__:main"
md2gost-gui = "md2gost.gui:main"
md2latex = "md2latex.__main__:main"
md2fodt = "md2fodt.__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"]
[tool.hatch.build.targets.wheel.force-include]
"md2gost/Template.docx" = "md2gost/Template.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"
"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/types.md" = "md2gost/docs/types.md"
"docs/cli-gui.md" = "md2gost/docs/cli-gui.md"
"docs/styles.md" = "md2gost/docs/styles.md"
"docs/prompts.md" = "md2gost/docs/prompts.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.10"
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"
[tool.poetry.scripts]
md2gost = "md2gost.__main__:main"
md2gost-gui = "md2gost.gui:main"