71 lines
1.7 KiB
TOML
71 lines
1.7 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "orisys"
|
|
description = "Orisys - Vision Based Tactile Sensor SDK"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
authors = [{ name = "Orisys" }]
|
|
dynamic = ["version"]
|
|
dependencies = [
|
|
"numpy>=1.24.4",
|
|
"opencv-python>=4.10.0.84",
|
|
"scipy>=1.10.1",
|
|
"open3d>=0.17.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
cuda12 = ["cupy-cuda12x>=12.3.0"]
|
|
cuda13 = ["cupy-cuda13x>=13.0.0"]
|
|
# Backward compatibility: 'cuda' defaults to CUDA 12.x
|
|
cuda = ["cupy-cuda12x>=12.3.0"]
|
|
gui = ["pyqt5>=5.15", "pyqtgraph>=0.13"]
|
|
|
|
[tool.setuptools]
|
|
package-dir = { "" = "src" }
|
|
include-package-data = true
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.setuptools.dynamic]
|
|
version = { attr = "orisys.__version__" }
|
|
|
|
# Single source of truth for bundled non-code files.
|
|
# - dev_install = true -> pip install / editable install (via setup.py)
|
|
# - all items -> Nuitka wheel (build/wheel_layout.py)
|
|
[tool.orisys.bundle]
|
|
|
|
# Use patterns (globs) and/or files (explicit names under source/).
|
|
[[tool.orisys.bundle.items]]
|
|
name = "configs"
|
|
source = "config"
|
|
target = "configs"
|
|
patterns = ["*.json"]
|
|
# files = ["dd02-ov.json", "ddjx01.json"]
|
|
dev_install = true
|
|
|
|
[[tool.orisys.bundle.items]]
|
|
name = "examples"
|
|
source = "examples"
|
|
target = "examples"
|
|
patterns = ["*.py", "README.md", "viz/*.py", "pipeline/*.py", "gui/*.py", "gui/widgets/*.py"]
|
|
preserve_tree = true
|
|
|
|
[[tool.orisys.bundle.items]]
|
|
name = "docs"
|
|
source = "docs"
|
|
target = "docs"
|
|
patterns = ["*.md", "*.pdf"]
|
|
|
|
[[tool.orisys.bundle.items]]
|
|
name = "assets"
|
|
source = "assets"
|
|
target = "assets"
|
|
patterns = ["finger/30fps/*"]
|
|
preserve_tree = true
|
|
dev_install = true
|
|
|