-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
98 lines (81 loc) · 3.09 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[build-system]
build-backend = "setuptools.build_meta"
requires = ["wheel", "setuptools>=60", "setuptools_scm[toml]>=8.0"]
[project]
name = "mujoco-urdf-loader"
dynamic = ["version"]
description = "A simple URDF to MJCF converter for MuJoCo, part of the ergoCub project."
keywords = ["mujoco", "urdf", "robotics", "simulation", "physics"]
license.file = "LICENSE"
authors = [{ name = "Giovanni Fregonese", email = "[email protected]" }]
maintainers = [{ name = "Giovanni Fregonese", email = "[email protected]" }]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"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 :: Games/Entertainment :: Simulation",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Physics",
]
requires-python = ">= 3.10"
dependencies = ["mujoco", "resolve-robotics-uri-py", "idyntree"]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.urls]
Repository = "https://github.com/ami-iit/mujoco-urdf-loader"
[project.optional-dependencies]
development = ["black", "isort", "pre-commit"]
testing = ["pytest >= 6.0", "robot_descriptions"]
all = ["mujoco-urdf-loader[development,testing]"]
# [tool.setuptools]
# package-dir = { "" = "src" }
[tool.setuptools.package-data]
mujoco_urdf_loader = ["*.yaml", "*.urdf"]
[tool.setuptools.packages.find]
namespaces = false
[tool.setuptools_scm]
local_scheme = "dirty-tag"
[tool.black]
line-length = 88
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["linux-64", "linux-aarch64", "win-64", "osx-arm64"]
# We duplicate the dependencies here to ensure that they are installed via conda
# instead of pypi, that may not be necessary at some point in future pixi versions
# if pixi learns to automatically solve pypi dependencies via conda packages,
# see https://github.com/prefix-dev/pixi/issues/532
[tool.pixi.dependencies]
idyntree = "*"
mujoco-python = "*"
resolve-robotics-uri-py = "*"
[tool.pixi.feature.development.dependencies]
black = "*"
isort = "*"
pre-commit = "*"
[tool.pixi.feature.testing.dependencies]
pytest = ">=6.0"
robot_descriptions = "*"
# This is just here as ergocub-software is not available on pypi
ergocub-software = "*"
# This should not be necessary, but without that we get "missing module smmap"
# when animal_c is loaded, let's add it for now but it may be worth in the future
# to check if we can remove it
gitpython = "*"
[tool.pixi.pypi-dependencies]
mujoco-urdf-loader = { path = ".", editable = true }
[tool.pixi.environments]
default = { solve-group = "default" }
all = { features = ["all", "development", "testing"], solve-group = "default" }
development = { features = ["development"], solve-group = "default" }
testing = { features = ["testing"], solve-group = "default" }
[tool.pixi.feature.testing.tasks]
test = "pytest"