Skip to content

UniFace: A Unified Face Analysis Library for Python | Detection, alignment, landmarks, face-mesh, recognition, parsing, gaze, attributes and anti-spoofing under one API.

chore: Add license and remove version.py [skip ci]

yakhyo904ba2be8370
diff --git a/uniface/__init__.py b/uniface/__init__.py
index e5c1756..47c1479 100644
--- a/uniface/__init__.py
+++ b/uniface/__init__.py
@@ -11,17 +11,21 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+__license__ = "MIT"
+__author__ = "Yakhyokhuja Valikhujaev"
+__version__ = "0.1.6"
+
from uniface.retinaface import RetinaFace
from uniface.log import Logger
from uniface.model_store import verify_model_weights
-from uniface.version import __version__, __author__
from uniface.alignment import face_alignment
from uniface.visualization import draw_detections
__all__ = [
"__version__",
- "__author__"
+ "__author__",
+ "__license__",
"RetinaFace",
"Logger",
"verify_model_weights",
diff --git a/uniface/version.py b/uniface/version.py
deleted file mode 100644
index 52c9340..0000000
--- a/uniface/version.py
+++ /dev/null
@@ -1,15 +0,0 @@
-# Copyright 2025 Yakhyokhuja Valikhujaev
-#
-# Licensed under the MIT License.
-# You may obtain a copy of the License at
-#
-# https://opensource.org/licenses/MIT
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-__version__ = "0.1.6"
-__author__ = "Yakhyokhuja Valikhujaev"