-
Notifications
You must be signed in to change notification settings - Fork 24
/
setup.py
31 lines (24 loc) · 824 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
import pathlib
from setuptools import find_packages, setup
def _get_long_description():
path = pathlib.Path(__file__).parent / 'README.md'
with open(path, encoding='utf-8') as f:
long_description = f.read()
return long_description
def _get_requirements(path):
with open(path) as f:
data = f.readlines()
return data
setup(
name='anime-face-detector',
version='0.0.9',
author='hysts',
url='https://github.com/hysts/anime-face-detector',
python_requires='>=3.7',
install_requires=_get_requirements('requirements.txt'),
packages=find_packages(exclude=('tests', )),
include_package_data=True,
description='Anime Face Detector using mmdet and mmpose',
long_description=_get_long_description(),
long_description_content_type='text/markdown',
)