-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
executable file
·34 lines (30 loc) · 1.03 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
from setuptools import setup, find_packages
import re
with open('README.md') as f:
readme = f.read()
# extract version
with open('headpose/__init__.py') as file:
for line in file.readlines():
m = re.match("__version__ *= *['\"](.*)['\"]", line)
if m:
version = m.group(1)
setup(name='headpose',
version=version,
description='estimate the pose of the head based on an image.',
long_description=readme,
long_description_content_type='text/markdown',
url="https://github.com/OleBialas/headpose.git",
author='Ole Bialas',
author_email='[email protected]',
license='MIT',
python_requires='>=3.6',
install_requires=['opencv-python',
'numpy',
'requests',
'torch',
'torchvision'],
packages=find_packages(),
package_data={'headpose': ['haarcascade_frontalface_default.xml']},
include_package_data=True,
zip_safe=False)
# add pypi.org/classifiers