mirror of
https://github.com/deepinsight/insightface.git
synced 2025-12-30 08:02:27 +00:00
pip 0.3.5
This commit is contained in:
@@ -11,7 +11,7 @@ except ImportError:
|
||||
"Unable to import dependency onnxruntime. "
|
||||
)
|
||||
|
||||
__version__ = '0.3.4'
|
||||
__version__ = '0.3.5'
|
||||
|
||||
from . import model_zoo
|
||||
from . import utils
|
||||
|
||||
@@ -53,9 +53,10 @@ extensions = [
|
||||
Extension("insightface.thirdparty.face3d.mesh.cython.mesh_core_cython",
|
||||
["insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.pyx", "insightface/thirdparty/face3d/mesh/cython/mesh_core.cpp"], language='c++'),
|
||||
]
|
||||
data_images = glob.glob('insightface/data/images/*.jpg')
|
||||
data_images = list(glob.glob('insightface/data/images/*.jpg'))
|
||||
data_images += list(glob.glob('insightface/data/images/*.png'))
|
||||
|
||||
data_files = [ ('insightface/data/images', list(data_images)) ]
|
||||
data_files = [ ('insightface/data/images', data_images) ]
|
||||
ext_modules=cythonize(extensions)
|
||||
setup(
|
||||
# Metadata
|
||||
|
||||
Reference in New Issue
Block a user