-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
53 lines (48 loc) · 1.33 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
# setup.py
# Copyright (C) 2021 University of Waikato, Hamilton, NZ
from setuptools import setup
def _read(f):
"""
Reads in the content of the file.
:param f: the file to read
:type f: str
:return: the content
:rtype: str
"""
return open(f, 'rb').read()
setup(
name="video_frame_selector",
description="Meta-tool that presents frames from a video to image analysis frameworks and uses the predictions to determine whether to use a frame or not.",
long_description=(
_read('DESCRIPTION.rst') + b'\n' +
_read('CHANGES.rst')).decode('utf-8'),
url="https://github.com/waikato-datamining/video-frame-processor",
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Topic :: Multimedia :: Video',
'Programming Language :: Python :: 3',
],
license='MIT License',
package_dir={
'': 'src'
},
packages=[
"vfs",
],
install_requires=[
"opencv-python",
"pyyaml",
"opex",
"redis",
],
version="0.0.9",
author='Peter Reutemann',
author_email='[email protected]',
entry_points={
"console_scripts": [
"vfs-process=vfs.process:sys_main",
"vfs-process-redis=vfs.process_redis:sys_main",
]
}
)