Add build system requirements for correct installation

This commit is contained in:
Andrii Yerko
2022-09-21 23:14:17 +03:00
parent 75bfa1c378
commit 6b3bc2df1e
3 changed files with 4 additions and 14 deletions

View File

@@ -8,19 +8,6 @@ The code of InsightFace Python Library is released under the MIT License. There
## Install
### Windows 10
Before installing the package via pip, first install the following packages
```
pip install -U Cython cmake numpy
```
and then finally use
```
pip install -U insightface
```
### Install Inference Backend
For ``insightface<=0.1.5``, we use MXNet as inference backend.

View File

@@ -11,7 +11,7 @@ except ImportError:
"Unable to import dependency onnxruntime. "
)
__version__ = '0.6.2'
__version__ = '0.6.3'
from . import model_zoo
from . import utils

View File

@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools", "numpy", "cython"]
build-backend = "setuptools.build_meta"