forked from TreB1eN/InsightFace_Pytorch
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
33 lines (30 loc) · 1.01 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
requirements = ["numpy",
"Pillow",
"torch",
"torchvision",
"easydict",
"opencv-python"]
setuptools.setup(
name="arcface_torch",
version="0.1.0",
description="A PyTorch re-implementation of ArcFace",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/tomasic/arcface_torch",
package_data={
"": ["*.txt", "*.rst", "*.pth", "data/facebank/*.*", "mtcnn_pytorch/src/weights/*.*", "*.npy", "*.log", "work_space/save/*.pth"],
},
package_dir={"": "."},
packages=setuptools.find_packages(),
install_requires=requirements,
python_requires=">=3.8",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
include_package_data=True,
)