-
Notifications
You must be signed in to change notification settings - Fork 959
/
setup.py
46 lines (42 loc) · 1.29 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
34
35
36
37
38
39
40
41
42
43
44
45
46
import setuptools, os
PACKAGE_NAME = 'facenet-pytorch'
VERSION = '2.5.2'
AUTHOR = 'Tim Esler'
EMAIL = '[email protected]'
DESCRIPTION = 'Pretrained Pytorch face detection and recognition models'
GITHUB_URL = 'https://github.com/timesler/facenet-pytorch'
parent_dir = os.path.dirname(os.path.realpath(__file__))
import_name = os.path.basename(parent_dir)
with open('{}/README.md'.format(parent_dir), 'r') as f:
long_description = f.read()
setuptools.setup(
name=PACKAGE_NAME,
version=VERSION,
author=AUTHOR,
author_email=EMAIL,
description=DESCRIPTION,
long_description=long_description,
long_description_content_type='text/markdown',
url=GITHUB_URL,
packages=[
'facenet_pytorch',
'facenet_pytorch.models',
'facenet_pytorch.models.utils',
'facenet_pytorch.data',
],
package_dir={'facenet_pytorch':'.'},
package_data={'': ['*net.pt']},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=[
'numpy>=1.24.0,<2.0.0',
'Pillow>=10.2.0,<10.3.0',
'requests>=2.0.0,<3.0.0',
'torch>=2.2.0,<=2.3.0',
'torchvision>=0.17.0,<=0.18.0',
'tqdm>=4.0.0,<5.0.0',
],
)