forked from kornia/kornia_io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (33 loc) · 1009 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
32
33
34
from setuptools import setup, find_packages
from setuptools_rust import Binding, RustExtension
setup(name='kornia_io',
version='0.1.0',
description='Kornia input and output wrapper.',
author='Kornia.org',
url='https://github.com/kornia/kornia_io',
install_requires=[
'torch',
'kornia',
'opencv-python',
'depthai',
'visdom',
],
extras_require={
'dev': [
'pytest',
'pytest-flake8',
'pytest-cov',
'pytest-mypy',
'pytest-pydocstyle',
'mypy', # TODO: check if we can remove the deps without pytest-*
'pydocstyle',
'flake8',
'pep8-naming'
]
},
packages=find_packages(),
# configure rust
rust_extensions=[RustExtension('kornia_rs', binding=Binding.PyO3)],
# rust extensions are not zip safe, just like C-extensions.
zip_safe=False,
)