File tree Expand file tree Collapse file tree 4 files changed +15
-7
lines changed Expand file tree Collapse file tree 4 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.11 )
1
+ cmake_minimum_required (VERSION 3.15 )
2
2
project (pym3t LANGUAGES CXX )
3
3
4
4
option (USE_AZURE_KINECT "Use Azure Kinect" OFF )
Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ cd pym3t
33
33
python -m venv .venv
34
34
source .venv/bin/activate
35
35
pip install .
36
+ # or if you want to run examples
37
+ pip install .[examples]
36
38
```
37
39
38
40
# Example scripts
Original file line number Diff line number Diff line change 1
1
channels :
2
2
- conda-forge
3
3
dependencies :
4
- - python=3.9
4
+ - python> =3.8
5
5
- compilers
6
6
- cmake
7
7
- scikit-build
8
8
- pyyaml
9
- - opencv
9
+ - opencv==4.3.0
10
10
- mesa-libgl-devel-cos7-x86_64
11
11
- mesa-dri-drivers-cos7-x86_64
12
12
- libxcb
13
13
- glew
14
14
- glfw
15
15
- librealsense
16
- - quaternion
17
16
- eigen
17
+ - numpy
18
+ - quaternion
Original file line number Diff line number Diff line change @@ -7,8 +7,13 @@ build-backend = "scikit_build_core.build"
7
7
[project ]
8
8
name = " pym3t"
9
9
version = " 0.0.1"
10
- requires-python = " >=3.7 "
10
+ requires-python = " >=3.8 "
11
11
# run time dependencies
12
- dependencies = [
13
- " numpy"
12
+ dependencies = []
13
+
14
+ [project .optional-dependencies ]
15
+ examples = [
16
+ " numpy<2.0.0" , # older numpy-quaternion releases are not compatible with numpy 2.0.0
17
+ " numpy-quaternion>=2023.0.3" ,
18
+ " opencv-python>=4.11.0.86" ,
14
19
]
You can’t perform that action at this time.
0 commit comments