Make mujoco (modern version) a required dependency
This commit is contained in:
parent
b6c67b1adc
commit
ce779bc6fb
@ -25,26 +25,27 @@ classifiers = [
|
||||
"Programming Language :: Python :: 3.11"
|
||||
]
|
||||
|
||||
dependencies = [
|
||||
"mp_pytorch<=0.1.3",
|
||||
"mujoco==2.3.3",
|
||||
"gymnasium[mujoco]>0.26.0"
|
||||
]
|
||||
|
||||
requires-python = ">=3.7"
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://github.com/ALRhub/fancy_gym/"
|
||||
"Homepage" = "https://github.com/ALRhub/fancy_gym/"
|
||||
"Bug Tracker" = "https://github.com/ALRhub/fancy_gym/issues"
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools>=51.0.0", "wheel"]
|
||||
requires = ["setuptools>=61.0.0", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
project.dependencies = [
|
||||
"gymnasium>=0.26.0",
|
||||
"mp_pytorch<=0.1.3"
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dmc = ["shimmy[dm-control]", "Shimmy==1.0.0"]
|
||||
# PyPi does not allow external dependencies. Metaworld will have to be installed manually until Farama publishes up-to-date version of metaworld on PyPi.
|
||||
#metaworld = ["metaworld @ git+https://github.com/Farama-Foundation/Metaworld.git@d155d0051630bb365ea6a824e02c66c068947439#egg=metaworld"]
|
||||
box2d = ["gymnasium[box2d]>=0.26.0"]
|
||||
mujoco = ["mujoco==2.3.3", "gymnasium[mujoco]>0.26.0"]
|
||||
mujoco-legacy = ["mujoco-py>=2.1,<2.2", "cython<3"]
|
||||
jax = ["jax>=0.4.0", "jaxlib>=0.4.0"]
|
||||
|
||||
|
4
setup.py
4
setup.py
@ -11,7 +11,6 @@ extras = {
|
||||
'dmc': ['shimmy[dm-control]', 'Shimmy==1.0.0'],
|
||||
'metaworld': ['metaworld @ git+https://github.com/Farama-Foundation/Metaworld.git@d155d0051630bb365ea6a824e02c66c068947439#egg=metaworld'],
|
||||
'box2d': ['gymnasium[box2d]>=0.26.0'],
|
||||
'mujoco': ['mujoco==2.3.3', 'gymnasium[mujoco]>0.26.0'],
|
||||
'mujoco-legacy': ['mujoco-py >=2.1,<2.2', 'cython<3'],
|
||||
'jax': ["jax >=0.4.0", "jaxlib >=0.4.0"],
|
||||
}
|
||||
@ -54,8 +53,9 @@ setup(
|
||||
],
|
||||
extras_require=extras,
|
||||
install_requires=[
|
||||
'gymnasium>=0.26.0',
|
||||
'mp_pytorch<=0.1.3'
|
||||
'mujoco==2.3.3',
|
||||
'gymnasium[mujoco]>0.26.0']
|
||||
],
|
||||
packages=[package for package in find_packages(
|
||||
) if package.startswith("fancy_gym")],
|
||||
|
Loading…
Reference in New Issue
Block a user