feat: make GUI dependencies optional

This commit is contained in:
thePR0M3TH3AN
2025-08-07 10:51:13 -04:00
parent 38a392a7c9
commit 00edb44442
8 changed files with 37 additions and 15 deletions

View File

@@ -6,7 +6,6 @@ authors = []
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
toga-core = ">=0.5.2"
colorama = ">=0.4.6"
termcolor = ">=1.1.0"
cryptography = ">=40.0.2"
@@ -35,6 +34,11 @@ orjson = "*"
argon2-cffi = "*"
PyJWT = ">=2.8.0"
slowapi = "^0.1.9"
toga-core = { version = ">=0.5.2", optional = true }
pillow = { version = "*", optional = true }
[tool.poetry.extras]
gui = ["toga-core", "pillow"]
[tool.poetry.group.dev.dependencies]
pytest = "^8.2"