-
Notifications
You must be signed in to change notification settings - Fork 32
/
setup.py
61 lines (58 loc) · 1.61 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
from setuptools import setup, find_packages
from subprocess import run, PIPE
with open("README.md", "r", encoding="UTF-8") as fh:
long_description = fh.read()
try:
result = run(['git', 'describe', '--tags'], universal_newlines=True, stdout = PIPE)
except FileNotFoundError:
result = None
version = result.stdout.splitlines()[0] \
if result is not None and result.returncode == 0 and len(result.stdout) > 0 else '0.0.0'
setup(
name="watsor",
version=version,
author="Alexander Smirnov",
author_email="[email protected]",
description="Object detection for video surveillance",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT License",
url="https://github.com/asmirnou/watsor",
keywords="object person detection video IP camera realtime stream ffmpeg RTSP surveillance",
packages=find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
install_requires=[
'PyYaml',
'Pillow',
'cerberus',
'numpy',
'scipy',
'opencv-python-headless',
'shapely',
'werkzeug',
'paho-mqtt',
],
extras_require={
'coral': [
'edgetpu',
],
'cuda': [
'pycuda',
'tensorrt',
],
'cpu': [
'tensorflow',
],
'lite': [
'tflite_runtime',
],
'dev': [
'coverage',
]
},
)