forked from kou1okada/libelas
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
52 lines (47 loc) · 1.74 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
import setuptools
elas = setuptools.Extension('elas', sources=[
'src/pyelas.cpp',
'src/elas.cpp',
'src/descriptor.cpp',
'src/filter.cpp',
'src/matrix.cpp',
'src/triangle.cpp',
], define_macros=[('NPY_NO_DEPRECATED_API', 'NPY_1_7_API_VERSION')])
_long_descr = '''
This package is the port to Python of libelas.
It is a library for computing disparity maps of large images.
It was written by Andreas Geiger as a C++ library and MATLAB toolbox.
I wrote only the Python interface to use it in Python scripts.
You can find the paper where the algorithm is described at
http://dx.doi.org/10.1007/978-3-642-19315-6_3.
'''
setuptools.setup(
name='pyelas',
version='1.0.1',
author='Pier Angelo Vendrame',
author_email='[email protected]',
description='These are the Python bindings for libelas by '
'Andreas Geiger.',
long_description=_long_descr,
long_description_content_type='text/plain',
url='https://github.com/PieroV/PyElas',
project_urls={
'Original homepage': 'http://www.cvlibs.net/software/libelas/',
'Paper': 'http://dx.doi.org/10.1007/978-3-642-19315-6_3',
},
classifiers=[
'Programming Language :: C++',
'Programming Language :: Python :: 3 :: Only',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering :: Image Recognition',
],
license='GPLv3',
platforms=['Linux', 'Windows', 'Unix', 'macOS'],
ext_modules=[elas],
install_requires=[
'numpy>=1.7',
],
python_requires=">=3.5")