Merge pull request #16 from yakhyo/fix/install-issue

fix: Fix installation issue with onnxruntime-gpu version
This commit is contained in:
Yakhyokhuja Valikhujaev
2025-08-30 22:56:16 +09:00
committed by GitHub
3 changed files with 10 additions and 8 deletions

View File

@@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout code
@@ -30,7 +30,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[dev] || pip install pytest # Use extras_require if available
python -m pip install .[dev]
- name: Run Tests
run: pytest

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"]

View File

@@ -13,7 +13,7 @@
__license__ = "MIT"
__author__ = "Yakhyokhuja Valikhujaev"
__version__ = "0.1.7"
__version__ = "0.1.8"
from uniface.retinaface import RetinaFace