dv-processing 1.7.8__tar.gz → 2.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,15 @@
1
+ Metadata-Version: 2.4
2
+ Name: dv_processing
3
+ Version: 2.0.0
4
+ Summary: Generic algorithms for event cameras.
5
+ Author: iniVation AG
6
+ Author-email: support@inivation.com
7
+ Requires-Python: >=3.8
8
+ License-File: LICENSE
9
+ Requires-Dist: numpy
10
+ Dynamic: author
11
+ Dynamic: author-email
12
+ Dynamic: license-file
13
+ Dynamic: requires-dist
14
+ Dynamic: requires-python
15
+ Dynamic: summary
@@ -6,18 +6,10 @@ Generic algorithms for event cameras.
6
6
 
7
7
  The library is available for installation with apt package manager in recent Ubuntu distributions.
8
8
 
9
- ## Package installation in Ubuntu 18.04
9
+ ## Package installation in Ubuntu 20.04, 22.04 and 24.04
10
10
 
11
11
  ```bash
12
12
  sudo add-apt-repository ppa:ubuntu-toolchain-r/test
13
- sudo add-apt-repository ppa:inivation-ppa/inivation-bionic
14
- sudo apt update
15
- sudo apt install dv-processing
16
- ```
17
-
18
- ## Package installation in Ubuntu 20.04
19
-
20
- ```bash
21
13
  sudo add-apt-repository ppa:inivation-ppa/inivation
22
14
  sudo apt update
23
15
  sudo apt install dv-processing
@@ -34,14 +26,15 @@ sudo apt install dv-processing-python
34
26
  # Dependencies:
35
27
 
36
28
  - Linux, MacOS X or Windows
37
- - gcc >= 10.0 or clang >= 13 or Apple clang >= 14
38
- - libstdc++ >= 10.0 or Apple libc++ >= 14
29
+ - gcc >= 13.0 or LLVM clang >= 18 or Apple XCode >= 16.0
30
+ - libstdc++ >= 13.0 or LLVM libc++ >= 18 or Apple XCode libc++ >= 16.0
31
+ - Microsoft Visual Studio 2022 >= 17.9 with VCPKG
39
32
  - cmake >= 3.22
40
- - Boost >= 1.76
33
+ - Boost >= 1.80
41
34
  - OpenCV >= 4.2.0
42
35
  - Eigen >= 3.4.0
43
- - libcaer >= 3.3.14
44
- - fmt >= 8.1.1
36
+ - libusb >= 1.0.23
37
+ - fmt >= 9.1.0
45
38
  - lz4
46
39
  - zstd
47
40
  - OpenSSL
@@ -52,21 +45,20 @@ sudo apt install dv-processing-python
52
45
  The API documentation is available in HTML format, please open `docs/index.html` with your browser to access the
53
46
  documentation.
54
47
 
55
- ## Install dependencies on Ubuntu 20.04
48
+ ## Install dependencies on Ubuntu 24.04
56
49
 
57
50
  ```bash
58
- sudo add-apt-repository ppa:inivation-ppa/inivation
59
- sudo apt-get update
60
- sudo apt-get install git gcc-10 g++-10 cmake boost-inivation libopencv-dev libeigen3-dev libcaer-dev libfmt-dev liblz4-dev libzstd-dev libssl-dev
51
+ sudo apt update
52
+ sudo apt install git gcc-13 g++-13 cmake libboost-all-dev libopencv-dev libeigen3-dev libfmt-dev liblz4-dev libzstd-dev libssl-dev libusb-1.0-0-dev
61
53
  ```
62
54
 
63
- ## Install dependencies on Ubuntu 18.04
55
+ ## Install dependencies on Ubuntu 20.04 and 22.04
64
56
 
65
57
  ```bash
66
58
  sudo add-apt-repository ppa:ubuntu-toolchain-r/test
67
- sudo add-apt-repository ppa:inivation-ppa/inivation-bionic
68
- sudo apt-get update
69
- sudo apt-get install git gcc-10 g++-10 cmake boost-inivation libopencv-dev libeigen3-dev libcaer-dev libfmt-dev liblz4-dev libzstd-dev libssl-dev
59
+ sudo add-apt-repository ppa:inivation-ppa/inivation
60
+ sudo apt update
61
+ sudo apt install git gcc-13 g++-13 cmake boost-inivation libopencv-dev libeigen3-dev libfmt-dev liblz4-dev libzstd-dev libssl-dev libusb-1.0-0-dev
70
62
  ```
71
63
 
72
64
  # Installation
@@ -86,7 +78,7 @@ cd dv-processing
86
78
 
87
79
  ```bash
88
80
  mkdir build && cd build
89
- CC=gcc-10 CXX=g++-10 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
81
+ CC=gcc-13 CXX=g++-13 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
90
82
  make -j4 -s
91
83
  make test
92
84
  ```
@@ -0,0 +1,15 @@
1
+ Metadata-Version: 2.4
2
+ Name: dv_processing
3
+ Version: 2.0.0
4
+ Summary: Generic algorithms for event cameras.
5
+ Author: iniVation AG
6
+ Author-email: support@inivation.com
7
+ Requires-Python: >=3.8
8
+ License-File: LICENSE
9
+ Requires-Dist: numpy
10
+ Dynamic: author
11
+ Dynamic: author-email
12
+ Dynamic: license-file
13
+ Dynamic: requires-dist
14
+ Dynamic: requires-python
15
+ Dynamic: summary
@@ -0,0 +1,27 @@
1
+ [build-system]
2
+ requires = [
3
+ "setuptools",
4
+ "wheel",
5
+ "numpy >= 2.0.0; python_version > '3.8'",
6
+ "oldest-supported-numpy; python_version <= '3.8'",
7
+ ]
8
+ build-backend = "setuptools.build_meta"
9
+
10
+ [tool.cibuildwheel]
11
+ test-command = "python -c \"import dv_processing; print(dv_processing.__version__);\""
12
+ enable = ["cpython-freethreading", "pypy"]
13
+
14
+ [tool.cibuildwheel.linux]
15
+ skip = ["*musllinux*"]
16
+ manylinux-x86_64-image = "registry.gitlab.com/synsense-sys-int/inivation/infra/docker-files/manylinux_2_28_x86_64_ini:latest"
17
+ manylinux-aarch64-image = "registry.gitlab.com/synsense-sys-int/inivation/infra/docker-files/manylinux_2_28_aarch64_ini:latest"
18
+ manylinux-pypy_x86_64-image = "registry.gitlab.com/synsense-sys-int/inivation/infra/docker-files/manylinux_2_28_x86_64_ini:latest"
19
+ manylinux-pypy_aarch64-image = "registry.gitlab.com/synsense-sys-int/inivation/infra/docker-files/manylinux_2_28_aarch64_ini:latest"
20
+
21
+ [tool.cibuildwheel.macos]
22
+ skip = ["pp*"]
23
+
24
+ [tool.cibuildwheel.windows]
25
+ skip = ["pp*", "cp38-win32", "cp39-win32"]
26
+ before-build = "pip install delvewheel"
27
+ repair-wheel-command = "delvewheel repair -w {dest_dir} {wheel}"
@@ -1,8 +1,8 @@
1
1
  import os
2
+ import platform
2
3
  import re
3
4
  import subprocess
4
5
  import sys
5
- import platform
6
6
  from pathlib import Path
7
7
 
8
8
  from setuptools import Extension, setup
@@ -10,12 +10,12 @@ from setuptools.command.build_ext import build_ext
10
10
 
11
11
  global extra_cmake_args
12
12
  extra_cmake_args = [
13
- "-DENABLE_TESTS=OFF",
14
- "-DENABLE_SAMPLES=OFF",
15
- "-DENABLE_UTILITIES=OFF",
16
- "-DENABLE_BENCHMARKS=OFF",
17
- "-DENABLE_PYTHON=ON",
18
- "-DENABLE_PYTHON_STUBGEN=OFF",
13
+ "-DDVP_ENABLE_TESTS=OFF",
14
+ "-DDVP_ENABLE_SAMPLES=OFF",
15
+ "-DDVP_ENABLE_UTILITIES=OFF",
16
+ "-DDVP_ENABLE_BENCHMARKS=OFF",
17
+ "-DDVP_ENABLE_PYTHON=ON",
18
+ "-DDVP_ENABLE_PYTHON_STUBGEN=OFF",
19
19
  ]
20
20
 
21
21
  # Convert distutils Windows platform specifiers to CMake -A arguments
@@ -162,22 +162,22 @@ def verify_and_configure_compiler():
162
162
  return
163
163
 
164
164
  version = parse_gplusplus_major_version("g++")
165
- if version is not None and version >= 10:
165
+ if version is not None and version >= 13:
166
166
  # default compiler seems fine, continue
167
167
  return
168
168
  try:
169
169
  version = parse_gplusplus_major_version(os.environ["CXX"])
170
- if version is not None and version >= 10:
170
+ if version is not None and version >= 13:
171
171
  # A preset compiler found, it seems suitable
172
172
  return
173
173
  except KeyError:
174
174
  pass
175
175
 
176
- version = parse_gplusplus_major_version("g++-10")
177
- if version is not None and version >= 10:
176
+ version = parse_gplusplus_major_version("g++-13")
177
+ if version is not None and version >= 13:
178
178
  global extra_cmake_args
179
- print("Detected installation of g++10, it will be used for compilation")
180
- extra_cmake_args += ["-DCMAKE_C_COMPILER=gcc-10", "-DCMAKE_CXX_COMPILER=g++-10"]
179
+ print("Detected installation of g++13, it will be used for compilation")
180
+ extra_cmake_args += ["-DCMAKE_C_COMPILER=gcc-13", "-DCMAKE_CXX_COMPILER=g++-13"]
181
181
  return
182
182
 
183
183
  # None of the above worked. Print a warning.
@@ -214,5 +214,5 @@ setup(
214
214
  cmdclass={"build_ext": CMakeBuild},
215
215
  zip_safe=False,
216
216
  install_requires=["numpy"],
217
- python_requires=">=3.6",
217
+ python_requires=">=3.8",
218
218
  )
@@ -1,8 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: dv_processing
3
- Version: 1.7.8
4
- Summary: Generic algorithms for event cameras.
5
- Author: iniVation AG
6
- Author-email: support@inivation.com
7
- Requires-Python: >=3.6
8
- License-File: LICENSE
@@ -1,8 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: dv-processing
3
- Version: 1.7.8
4
- Summary: Generic algorithms for event cameras.
5
- Author: iniVation AG
6
- Author-email: support@inivation.com
7
- Requires-Python: >=3.6
8
- License-File: LICENSE
@@ -1,21 +0,0 @@
1
- [build-system]
2
- requires = [
3
- "setuptools",
4
- "wheel",
5
- "numpy",
6
- ]
7
- build-backend = "setuptools.build_meta"
8
-
9
- [tool.cibuildwheel.linux]
10
- archs = ["x86_64", "i686", "aarch64"]
11
- skip = "*musllinux*"
12
- manylinux-x86_64-image = "registry.gitlab.com/inivation/infra/docker-files/manylinux2014_x86_64_ini:latest"
13
- manylinux-i686-image = "registry.gitlab.com/inivation/infra/docker-files/manylinux2014_i686_ini:latest"
14
- manylinux-aarch64-image = "registry.gitlab.com/inivation/infra/docker-files/manylinux2014_aarch64_ini:latest"
15
- manylinux-pypy_x86_64-image = "registry.gitlab.com/inivation/infra/docker-files/manylinux2014_x86_64_ini:latest"
16
- manylinux-pypy_i686-image = "registry.gitlab.com/inivation/infra/docker-files/manylinux2014_i686_ini:latest"
17
- manylinux-pypy_aarch64-image = "registry.gitlab.com/inivation/infra/docker-files/manylinux2014_aarch64_ini:latest"
18
-
19
- [tool.cibuildwheel.windows]
20
- before-build = "pip install delvewheel"
21
- repair-wheel-command = "delvewheel repair -w {dest_dir} {wheel}"
File without changes
File without changes