73 lines
2.4 KiB
TOML
73 lines
2.4 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",
|
|
"pywin32; sys_platform == 'win32'",
|
|
"data-flow-diagram>=1.16.0,<2",
|
|
# Font lookup: only Linux goes through fc-list, every other platform
|
|
# imports matplotlib.font_manager (renderable/find_font.py).
|
|
"matplotlib>=3.7; sys_platform != 'linux'",
|
|
]
|
|
|
|
[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", "mdexport", "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"
|
|
"md2gost/office/uno_worker.py" = "md2gost/office/uno_worker.py"
|
|
"md2gost/office/uno_helpers.py" = "md2gost/office/uno_helpers.py"
|
|
"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"
|