fix: Fix installation issue with onnxruntime-gpu version

This commit is contained in:
yakhyo
2025-08-30 22:43:26 +09:00
parent fbca77e050
commit cd3ff79c2e
2 changed files with 8 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
[project]
name = "uniface"
version = "0.1.7"
version = "0.1.8"
description = "UniFace: A Comprehensive Library for Face Detection, Recognition, Landmark Analysis, Age, and Gender Detection"
readme = "README.md"
license = { text = "MIT" }
@@ -11,14 +11,16 @@ dependencies = [
"numpy",
"opencv-python",
"onnx",
"onnxruntime-gpu",
"onnxruntime",
"scikit-image",
"requests"
"requests",
"tqdm"
]
requires-python = ">=3.8"
requires-python = ">=3.9"
[project.optional-dependencies]
dev = ["pytest"]
gpu = ["onnxruntime-gpu"]
[project.urls]
Homepage = "https://github.com/yakhyo/uniface"
@@ -32,4 +34,4 @@ build-backend = "setuptools.build_meta"
packages = ["uniface"]
[tool.setuptools.package-data]
"uniface" = ["*.txt", "*.md"]
"uniface" = ["*.txt", "*.md"]