forked from timesler/facenet-pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (38 loc) · 1.13 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
import setuptools, os
PACKAGE_NAME = 'facenet-pytorch'
VERSION = '2.1.1'
AUTHOR = 'Tim Esler'
EMAIL = 'tim.esler@gmail.com'
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',
'requests',
],
)