-
Notifications
You must be signed in to change notification settings - Fork 48
/
setup.py
62 lines (52 loc) · 1.79 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
62
"""Setup script for v2e."""
import setuptools
from setuptools import setup, find_packages
classifiers = """
Development Status :: 4 - Beta
Intended Audience :: Science/Research
Natural Language :: English
Operating System :: OS Independent
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: Utilities
Topic :: Scientific/Engineering
Topic :: Software Development :: Libraries :: Python Modules
License :: OSI Approved :: MIT License
"""
version="1.5.1"
package_name="v2e"
setup(
name=package_name,
version=version,
description='Generates synthetic DVS events from conventional video',
author="Tobi Delbruck, Yuhuang Hu, Zhe He",
author_email="yuhuang.hu@ini.uzh.ch, tobi@ini.uzh.ch",
python_requires=">={}".format("3.7"),
# packages=find_packages(include=['v2ecore', 'v2e.*']),
packages=find_packages(),
url='https://github.com/SensorsINI/v2e',
install_requires=[
'numpy==1.20; python_version<"3.10"',
'numpy>=1.24; python_version>="3.10"',
'argcomplete',
'engineering-notation', # not available on conda
'tqdm',
'opencv-python', # just opencv for conda
'h5py', # ddd20 recordings
'torch', # pytorch for conda
'torchvision',
'numba',
# 'Gooey',
'matplotlib', # used for some optional statistics plotting
'plyer',
'screeninfo', # to get monitor sizes for cv2 window placement
'easygui', # eacy open a file from no arg invocation
'scikit-image' # for some synthetic_input scripts
],
scripts=['v2e.py', 'dataset_scripts/ddd/ddd_extract_data.py'],
entry_points={
'console_scripts': ['v2e=v2e:main']
},
classifiers=list(filter(None, classifiers.split('\n'))),
)