v0.5.3
Example document / build (push) Has been cancelled
Python application / build (push) Has been cancelled

- Мелкие исправления увеличивающие работу конвертера
This commit is contained in:
Igor20264
2026-09-10 10:50:15 +03:00
parent 658036f920
commit f7136bd8bd
95 changed files with 7165 additions and 8771 deletions
+6 -29
View File
@@ -2,7 +2,7 @@
name = "md2gost"
version = "0.1.0"
description = "Markdown to DOCX (MIREA TZ / GOST 7.32)"
readme = "README.md"
readme = "ReadMe.md"
requires-python = ">=3.11"
dependencies = [
"python-docx>=0.8.11,<1",
@@ -16,7 +16,11 @@ dependencies = [
"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]
@@ -41,7 +45,7 @@ requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["md2gost", "md2latex", "md2fodt", "word2md"]
packages = ["md2gost", "mdexport", "md2latex", "md2fodt", "word2md"]
[tool.hatch.build.targets.wheel.force-include]
"md2gost/Template.docx" = "md2gost/Template.docx"
@@ -64,30 +68,3 @@ packages = ["md2gost", "md2latex", "md2fodt", "word2md"]
"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"