add 'dev' dependency group and 'manhattanize' optional dep

This commit is contained in:
jan 2026-02-15 19:23:02 -08:00
commit d40bdb1cb2

View file

@ -46,6 +46,17 @@ dependencies = [
"klamath~=1.4", "klamath~=1.4",
] ]
[dependency-groups]
dev = [
"pytest",
"masque[oasis]",
"masque[dxf]",
"masque[svg]",
"masque[visualize]",
"masque[text]",
"masque[manhattanize]",
"masque[manhattanize_slow]",
]
[tool.hatch.version] [tool.hatch.version]
path = "masque/__init__.py" path = "masque/__init__.py"
@ -56,7 +67,8 @@ dxf = ["ezdxf~=1.0.2"]
svg = ["svgwrite"] svg = ["svgwrite"]
visualize = ["matplotlib"] visualize = ["matplotlib"]
text = ["matplotlib", "freetype-py"] text = ["matplotlib", "freetype-py"]
manhatanize_slow = ["float_raster"] manhattanize = ["scikit-image"]
manhattanize_slow = ["float_raster"]
[tool.ruff] [tool.ruff]