-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
40 lines (35 loc) · 948 Bytes
/
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
#!/usr/bin/env python3
import os
import sys
import site
import setuptools
from distutils.core import setup
site.ENABLE_USER_SITE = '--user' in sys.argv[1:]
with open('README.md') as f:
long_description = f.read()
with open(os.path.join('facenet', 'version.txt')) as f:
version = f.read().strip()
setup(
name='facenet',
version=version,
description='Real and fake face detector in PyTorch.',
long_description=long_description,
long_description_content_type='text/markdown',
author='Mohammadamin Aliari',
author_email='[email protected]',
packages=setuptools.find_packages(),
package_data={'facenet': ['version.txt']},
install_requires=[
'pytest',
'numpy',
'Pillow',
'torch',
'torchvision',
'scikit-learn',
'pandas',
'seaborn',
'matplotlib',
],
python_requires='>=3.7',
url='https://aminaliari.github.io/',
)