[tool.poetry]
name = "prefig"
version = "0.3.9.dev20250728054658"
description = "An authoring system for mathematical diagrams"
readme = "README.md"
homepage = "https://prefigure.org"
repository = "https://github.com/davidaustinm/prefigure"
authors = ["David Austin <david.austin.m@gmail.com>"]
license = "GPL-3.0-or-later"

include = ["resources"]

[tool.poetry.dependencies]
python = "^3.10"
shapely = "^2.0.6"
lxml = "^5.3.0"
click = "^8.1.7"
networkx = "^2.5"
scipy = [{version = "^1.8", python = "<3.13"}, {version = "^1.14.1", python = "3.13"}]
numpy = [{version = "^1.26", python = "<3.13"}, {version = "^2.1.0", python = "3.13"}]
pycairo = {version = "^1.20", optional = true}
click-log = "^0.4.0"

[tool.poetry.extras]
text = ["pycairo"]

[tool.poetry.scripts]
prefig = "prefig.cli:main"

[tool.poetry.group.dev.dependencies]
pytest = "^8.3.4"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
