99 lines
2.6 KiB
TOML
99 lines
2.6 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 = "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"]
|
|
|
|
[[tool.orisys.bundle.items]]
|
|
name = "assets"
|
|
source = "assets"
|
|
target = "assets"
|
|
patterns = ["finger/30fps/*", "finger/visualization/*"]
|
|
preserve_tree = true
|
|
dev_install = true
|
|
|