build: add cairosvg optional dependency for figment mode

Also adds DYLD_LIBRARY_PATH to mise.toml for macOS Cairo discovery.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-19 00:54:54 -07:00
parent 7014a9d5cd
commit acb42ea140
2 changed files with 7 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
[env]
_.path = ["/opt/homebrew/lib"]
DYLD_LIBRARY_PATH = "/opt/homebrew/lib"
[tools] [tools]
python = "3.12" python = "3.12"
hk = "latest" hk = "latest"

View File

@@ -30,6 +30,9 @@ mic = [
"sounddevice>=0.4.0", "sounddevice>=0.4.0",
"numpy>=1.24.0", "numpy>=1.24.0",
] ]
figment = [
"cairosvg>=2.7.0",
]
dev = [ dev = [
"pytest>=8.0.0", "pytest>=8.0.0",
"pytest-cov>=4.1.0", "pytest-cov>=4.1.0",