@@ -0,0 +1,63 @@
|
||||
[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"
|
||||
md2latex = "md2latex.__main__:main"
|
||||
md2fodt = "md2fodt.__main__:main"
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"pytest>=7.0",
|
||||
]
|
||||
|
||||
[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"
|
||||
|
||||
# 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"
|
||||
Reference in New Issue
Block a user