fancy_gym/setup.py
2023-01-12 17:21:56 +01:00

49 lines
1.5 KiB
Python

import itertools
from setuptools import setup, find_packages
# Environment-specific dependencies for dmc and metaworld
extras = {
"dmc": ["dm_control>=1.0.1"],
"metaworld": ["metaworld @ git+https://github.com/rlworkgroup/metaworld.git@master#egg=metaworld",
'mujoco-py<2.2,>=2.1',
'scipy',
'gym>=0.15.4',
],
"mujoco": ["gymnasium[mujoco]"],
}
# All dependencies
all_groups = set(extras.keys())
extras["all"] = list(set(itertools.chain.from_iterable(map(lambda group: extras[group], all_groups))))
setup(
author='Fabian Otto, Onur Celik',
name='fancy_gym',
version='0.3',
classifiers=[
# Python 3.7 is minimally supported
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
extras_require=extras,
install_requires=[
'gymnasium',
'mp_pytorch @ git+https://github.com/ALRhub/MP_PyTorch.git@main'
],
packages=[package for package in find_packages() if package.startswith("fancy_gym")],
package_data={
"fancy_gym": [
"envs/mujoco/*/assets/*.xml",
]
},
python_requires=">=3.7",
url='https://github.com/ALRhub/fancy_gym/',
# license='AGPL-3.0 license',
author_email='',
description='Fancy Gym: Unifying interface for various RL benchmarks with support for Black Box approaches.'
)