Files
2026-08-26 20:04:40 +08:00

108 lines
3.0 KiB
TOML

[build-system]
requires = ["setuptools>=61.0,<80", "wheel==0.45.1"]
build-backend = "setuptools.build_meta"
[project]
name = "orisys"
description = "SDK for Orisys Technology Visuotactile Sensors"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "Proprietary" }
authors = [{ name = "Orisys-Tech" }]
maintainers = [
{name = "Yijian Zhang", email = "zhangyijian@orisys-tech.cn"}
]
dynamic = ["version"]
dependencies = [
"numpy>=1.24.4",
"opencv-python>=4.10.0.84",
"scipy>=1.10.1",
"numba>=0.59.0",
]
classifiers = [
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 4 - Beta",
# Indicate who your project is intended for
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: Other/Proprietary License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
# Specify the Python versions you support here.
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
[project.urls]
Homepage = "https://www.orisys-tech.cn"
Documentation = "https://github.com/Orisys-Tech/orisys-sdk"
Issues = "https://github.com/Orisys-Tech/orisys-sdk/issues"
[project.optional-dependencies]
cuda12 = ["cupy-cuda12x>=12.3.0"]
cuda13 = ["cupy-cuda13x>=13.0.0"]
gui = ["open3d>=0.17.0","pyqt5>=5.15", "pyqtgraph>=0.13"]
# Backward compatibility: 'cuda' defaults to CUDA 12.x
cuda = ["cupy-cuda12x>=12.3.0"]
[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 = "sensors"
source = "sensors"
target = "sensors"
# JSON bundles (sensor.json, force_calibration.json) plus finger mesh/viz assets.
# Prefer the flat layout sensors/finger/assets/{30fps-*,visualization}/;
# also accept a nested assets/finger/ tree if present in a checkout.
patterns = [
"**/*.json",
"finger/assets/30fps*/*",
"finger/assets/visualization/*",
"finger/assets/finger/30fps*/*",
"finger/assets/finger/visualization/*",
]
preserve_tree = true
dev_install = true
[[tool.orisys.bundle.items]]
name = "examples"
source = "examples"
target = "examples"
patterns = ["*.py", "README.md", "viz/**/*.py", "pipeline/**/*.py", "gui/**/*.py"]
preserve_tree = true
[[tool.orisys.bundle.items]]
name = "docs"
source = "docs"
target = "docs"
patterns = ["*.md", "*.pdf"]