Skip to content

Commit 11aedd3

Browse files
committed
add "example" dependencies
1 parent 774710c commit 11aedd3

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ cd pym3t
3333
python -m venv .venv
3434
source .venv/bin/activate
3535
pip install .
36+
# or if you want to run examples
37+
pip install .[examples]
3638
```
3739

3840
# Example scripts

pyproject.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,13 @@ build-backend = "scikit_build_core.build"
77
[project]
88
name = "pym3t"
99
version = "0.0.1"
10-
requires-python = ">=3.7"
10+
requires-python = ">=3.8"
1111
# 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",
1419
]

0 commit comments

Comments
 (0)