-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e6df37c
commit e08edb8
Showing
1 changed file
with
67 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,11 @@ dynamic = ["version"] | |
requires-python = ">= 3.10" | ||
description = "A differentiable physics engine and multibody dynamics library for control and robot learning." | ||
authors = [ | ||
{ name = "Diego Ferigo", email = "[email protected]" }, | ||
{ name = "Diego Ferigo", email = "[email protected]" }, | ||
] | ||
maintainers = [ | ||
{ name = "Diego Ferigo", email = "[email protected]" }, | ||
{ name = "Filippo Luca Ferretti", email = "[email protected]" }, | ||
{ name = "Diego Ferigo", email = "[email protected]" }, | ||
{ name = "Filippo Luca Ferretti", email = "[email protected]" }, | ||
] | ||
license.file = "LICENSE" | ||
keywords = [ | ||
|
@@ -24,23 +24,23 @@ keywords = [ | |
"urdf", | ||
] | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Framework :: Robot Framework", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: POSIX :: Linux", | ||
"Operating System :: MacOS", | ||
"Operating System :: Microsoft", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Topic :: Games/Entertainment :: Simulation", | ||
"Topic :: Scientific/Engineering :: Artificial Intelligence", | ||
"Topic :: Scientific/Engineering :: Physics", | ||
"Topic :: Software Development", | ||
"Development Status :: 4 - Beta", | ||
"Framework :: Robot Framework", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: POSIX :: Linux", | ||
"Operating System :: MacOS", | ||
"Operating System :: Microsoft", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Topic :: Games/Entertainment :: Simulation", | ||
"Topic :: Scientific/Engineering :: Artificial Intelligence", | ||
"Topic :: Scientific/Engineering :: Physics", | ||
"Topic :: Software Development", | ||
] | ||
dependencies = [ | ||
"coloredlogs", | ||
|
@@ -55,23 +55,23 @@ dependencies = [ | |
|
||
[project.optional-dependencies] | ||
style = [ | ||
"black[jupyter] ~= 24.0", | ||
"isort", | ||
"pre-commit", | ||
"black[jupyter] ~= 24.0", | ||
"isort", | ||
"pre-commit", | ||
] | ||
testing = [ | ||
"idyntree >= 12.2.1", | ||
"pytest >=6.0", | ||
"pytest-icdiff", | ||
"robot-descriptions", | ||
"idyntree >= 12.2.1", | ||
"pytest >=6.0", | ||
"pytest-icdiff", | ||
"robot-descriptions", | ||
] | ||
viz = [ | ||
"lxml", | ||
"mediapy", | ||
"mujoco >= 3.0.0", | ||
"lxml", | ||
"mediapy", | ||
"mujoco >= 3.0.0", | ||
] | ||
all = [ | ||
"jaxsim[style,testing,viz]", | ||
"jaxsim[style,testing,viz]", | ||
] | ||
|
||
[project.readme] | ||
|
@@ -91,13 +91,13 @@ Tracker = "https://github.com/ami-iit/jaxsim/issues" | |
[build-system] | ||
build-backend = "setuptools.build_meta" | ||
requires = [ | ||
"setuptools>=64", | ||
"setuptools-scm[toml]>=8", | ||
"wheel", | ||
"setuptools>=64", | ||
"setuptools-scm[toml]>=8", | ||
"wheel", | ||
] | ||
|
||
[tool.setuptools] | ||
package-dir = {"" = "src"} | ||
package-dir = { "" = "src" } | ||
|
||
[tool.setuptools_scm] | ||
local_scheme = "dirty-tag" | ||
|
@@ -118,7 +118,7 @@ profile = "black" | |
addopts = "-rsxX -v --strict-markers" | ||
minversion = "6.0" | ||
testpaths = [ | ||
"tests", | ||
"tests", | ||
] | ||
|
||
# ================== | ||
|
@@ -127,37 +127,37 @@ testpaths = [ | |
|
||
[tool.ruff] | ||
exclude = [ | ||
".git", | ||
".pytest_cache", | ||
".ruff_cache", | ||
".vscode", | ||
".devcontainer", | ||
"__pycache__", | ||
".git", | ||
".pytest_cache", | ||
".ruff_cache", | ||
".vscode", | ||
".devcontainer", | ||
"__pycache__", | ||
] | ||
preview = true | ||
|
||
[tool.ruff.lint] | ||
# https://docs.astral.sh/ruff/rules/ | ||
select = [ | ||
"B", | ||
"E", | ||
"F", | ||
"I", | ||
"W", | ||
"RUF", | ||
"YTT", | ||
"B", | ||
"E", | ||
"F", | ||
"I", | ||
"W", | ||
"RUF", | ||
"YTT", | ||
] | ||
|
||
ignore = [ | ||
"B008", # Function call in default argument | ||
"B024", # Abstract base class without abstract methods | ||
"E402", # Module level import not at top of file | ||
"E501", # Line too long | ||
"E731", # Do not assign a `lambda` expression, use a `def` | ||
"E741", # Ambiguous variable name | ||
"F841", # Local variable is assigned to but never used | ||
"I001", # Import block is unsorted or unformatted | ||
"RUF003", # Ambigous unicode character in comment | ||
"B008", # Function call in default argument | ||
"B024", # Abstract base class without abstract methods | ||
"E402", # Module level import not at top of file | ||
"E501", # Line too long | ||
"E731", # Do not assign a `lambda` expression, use a `def` | ||
"E741", # Ambiguous variable name | ||
"F841", # Local variable is assigned to but never used | ||
"I001", # Import block is unsorted or unformatted | ||
"RUF003", # Ambigous unicode character in comment | ||
] | ||
|
||
[tool.ruff.lint.per-file-ignores] | ||
|
@@ -191,9 +191,9 @@ sdformat14 = "*" | |
typing_extensions = "*" | ||
|
||
[tool.pixi.feature.test.tasks] | ||
examples = {cmd = "jupyter notebook ./examples"} | ||
examples = { cmd = "jupyter notebook ./examples" } | ||
pipcheck = "pip check" | ||
test = {cmd = "pytest", depends_on = ["pipcheck"]} | ||
test = { cmd = "pytest", depends_on = ["pipcheck"] } | ||
|
||
[tool.pixi.feature.test.dependencies] | ||
black = "24.*" | ||
|
@@ -206,15 +206,15 @@ pytest-icdiff = "*" | |
robot_descriptions = "*" | ||
|
||
[tool.pixi.feature.gpu] | ||
dependencies = {cuda-version = "12.*", cuda-cupti = "*", jaxlib = "**cuda*"} | ||
dependencies = { cuda-version = "12.*", cuda-cupti = "*", jaxlib = "**cuda*" } | ||
platforms = ["linux-64"] | ||
system-requirements = {cuda = "12.1"} | ||
system-requirements = { cuda = "12.1" } | ||
|
||
[tool.pixi.pypi-dependencies] | ||
jaxsim = {path = "./", editable = true} | ||
jaxsim = { path = "./", editable = true } | ||
|
||
[tool.pixi.environments] | ||
default = {solve-group = "cpugroup"} | ||
gpu = {features = ["gpu"], solve-group = "gpugroup"} | ||
test-cpu = {features = ["test"], solve-group = "cpugroup"} | ||
test-gpu = {features = ["test", "gpu"], solve-group = "gpugroup"} | ||
default = { solve-group = "cpugroup" } | ||
gpu = { features = ["gpu"], solve-group = "gpugroup" } | ||
test-cpu = { features = ["test"], solve-group = "cpugroup" } | ||
test-gpu = { features = ["test", "gpu"], solve-group = "gpugroup" } |