Skip to content

Commit

Permalink
Move content from setup.cfg to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Jul 3, 2024
1 parent 9573be8 commit 3d7f542
Showing 1 changed file with 104 additions and 3 deletions.
107 changes: 104 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,112 @@
[project]
dynamic = ["version", "dependencies", "optional-dependencies", "urls", "classifiers", "keywords", "authors", "requires-python", "license", "readme"]
name = "jaxsim"
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]" },
]
maintainers = [
{ name = "Diego Ferigo", email = "[email protected]" },
{ name = "Filippo Luca Ferretti", email = "[email protected]" },
]
license.file = "LICENSE"
keywords = [
"physics",
"physics engine",
"jax",
"rigid body dynamics",
"featherstone",
"reinforcement learning",
"robot",
"robotics",
"sdf",
"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",
]
dependencies = [
"coloredlogs",
"jax >= 0.4.13",
"jaxlib >= 0.4.13",
"jaxlie >= 1.3.0",
"jax_dataclasses >= 1.4.0",
"pptree",
"rod >= 0.3.0",
"typing_extensions ; python_version < '3.12'",
]

[project.optional-dependencies]
style = [
"black[jupyter] ~= 24.0",
"isort",
"pre-commit",
]
testing = [
"idyntree >= 12.2.1",
"pytest >=6.0",
"pytest-icdiff",
"robot-descriptions",
]
viz = [
"lxml",
"mediapy",
"mujoco >= 3.0.0",
]
all = [
"jaxsim[style,testing,viz]",
]

[project.readme]
file = "README.md"
content-type = "text/markdown"

[project.urls]
Changelog = "https://github.com/ami-iit/jaxsim/releases"
Documentation = "https://jaxsim.readthedocs.io"
Source = "https://github.com/ami-iit/jaxsim"
Tracker = "https://github.com/ami-iit/jaxsim/issues"

# ===========
# Build tools
# ===========

[build-system]
build-backend = "setuptools.build_meta"
requires = [
"wheel",
"setuptools>=64",
"setuptools_scm[toml]>=8",
"setuptools-scm[toml]>=8",
"wheel",
]

[tool.setuptools]
package-dir = {"" = "src"}

[tool.setuptools_scm]
local_scheme = "dirty-tag"
version_file = "src/jaxsim/_version.py"

# =================
# Style and testing
# =================

[tool.black]
line-length = 88

Expand All @@ -28,6 +121,10 @@ testpaths = [
"tests",
]

# ==================
# Ruff configuration
# ==================

[tool.ruff]
exclude = [
".git",
Expand Down Expand Up @@ -70,6 +167,10 @@ ignore = [
"__init__.py" = ["F401"]
"docs/conf.py" = ["F401"]

# ==================
# Pixi configuration
# ==================

[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["linux-64", "osx-arm64", "osx-64"]
Expand Down

0 comments on commit 3d7f542

Please sign in to comment.