Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 67 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,75 @@
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"wheel",
"setuptools>=45",
"setuptools_scm[toml]>=6.0",
requires = ["wheel", "setuptools>=45", "setuptools_scm[toml]>=6.0"]

[project]
name = "adam-robotics"
dynamic = ["version"]
description = "Automatic Differentiation for rigid-body-dynamics AlgorithMs"
readme = "README.md"
license = { file = "LICENSE" }
authors = [
{ name = "Giuseppe L'Erario", email = "[email protected]" },
]
requires-python = ">=3.10"
keywords = [
"robotics",
"urdf",
"rigid body dynamics",
"featherstone",
"automatic differentiation",
"optimization",
"casadi",
"jax",
"pytorch",
"reinforcement-learning",
"motion-planning",
]
dependencies = [
"numpy>=1.20",
"scipy",
"casadi>=3.6",
"prettytable",
"urdf_parser_py",
]

[project.optional-dependencies]
jax = ["jax", "jaxlib"]
casadi = ["casadi"]
pytorch = ["torch", "jax", "jaxlib", "jax2torch"]
test = [
"jax",
"jaxlib",
"casadi",
"torch",
"pytest",
"idyntree",
"icub-models",
"black",
"jax2torch",
"requests",
]
conversion = ["idyntree"]
all = ["jax", "jaxlib", "casadi>=3.6", "torch", "jax2torch"]

[tool.setuptools_scm]
local_scheme = "dirty-tag"
[project.urls]
"Documentation" = "https://adam-robotics.readthedocs.io/en/latest/"
"Source" = "https://github.com/ami-iit/adam"

[tool.setuptools]
package-dir = {"" = "src"} # keeps the src/ layout

[tool.setuptools.packages.find]
where = ["src"]
exclude = ["tests*", "docs*", "examples*"]

[tool.black]
line-length = 88

[tool.isort]
multi_line_output = 3
profile = "black"
[tool.ruff]
line-length = 88
src = ["src"]

[tool.pytest.ini_options]
addopts = "--capture=no --verbose"
testpaths = ["tests"]
72 changes: 0 additions & 72 deletions setup.cfg

This file was deleted.

6 changes: 0 additions & 6 deletions setup.py

This file was deleted.

Loading