79 lines
1.7 KiB
TOML
79 lines
1.7 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=68.0", "wheel>=0.42"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "ufactory_lerobot"
|
|
version = "0.1.0"
|
|
description = "UFACTORY 机械臂与 LeRobot 框架集成"
|
|
readme = "README.md"
|
|
license = { text = "MIT" }
|
|
requires-python = ">=3.10"
|
|
authors = [
|
|
{ name = "ufactory_lerobot Contributors" },
|
|
]
|
|
keywords = ["robotics", "lerobot", "ufactory", "xarm", "imitation-learning"]
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Science/Research",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"pytest-cov>=5.0",
|
|
"ruff>=0.8",
|
|
"mypy>=1.10",
|
|
"pre-commit>=3.7",
|
|
]
|
|
camera = [
|
|
"opencv-python>=4.9",
|
|
"pyrealsense2>=2.55",
|
|
]
|
|
lerobot = [
|
|
"lerobot==0.4.3",
|
|
]
|
|
train = [
|
|
"torch>=2.2",
|
|
"torchvision>=0.17",
|
|
"huggingface-hub>=0.25",
|
|
"wandb>=0.17",
|
|
]
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py310"
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"E", # pycodestyle errors
|
|
"W", # pycodestyle warnings
|
|
"F", # pyflakes
|
|
"I", # isort
|
|
"B", # flake8-bugbear
|
|
"UP", # pyupgrade
|
|
]
|
|
|
|
[tool.ruff.format]
|
|
quote-style = "double"
|
|
indent-style = "space"
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
addopts = "-v --tb=short"
|
|
|
|
[tool.mypy]
|
|
python_version = "3.10"
|
|
strict = true
|
|
ignore_missing_imports = true
|