fancy_gym/setup.py

46 lines
1.6 KiB
Python
Raw Normal View History

2022-07-06 09:05:35 +02:00
import itertools
2022-07-07 10:47:04 +02:00
from setuptools import setup, find_packages
2020-08-28 15:48:34 +02:00
2022-07-06 09:05:35 +02:00
# Environment-specific dependencies for dmc and metaworld
extras = {
2022-07-07 10:47:04 +02:00
"dmc": ["dm_control==1.0.1"],
2022-07-13 16:52:24 +02:00
"metaworld": ["metaworld @ git+https://github.com/rlworkgroup/metaworld.git@master#egg=metaworld",
'mujoco-py<2.2,>=2.1'],
2022-07-06 09:05:35 +02:00
}
# All dependencies
all_groups = set(extras.keys())
extras["all"] = list(set(itertools.chain.from_iterable(map(lambda group: extras[group], all_groups))))
2021-06-24 16:51:38 +02:00
setup(
2022-07-06 09:05:35 +02:00
author='Fabian Otto, Onur Celik, Marcel Sandermann, Maximilian Huettenrauch',
name='simple_gym',
2022-07-07 10:47:04 +02:00
version='0.1',
classifiers=[
# Python 3.6 is minimally supported (only with basic gym environments and API)
"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,
2021-06-24 16:51:38 +02:00
install_requires=[
2022-07-07 10:47:04 +02:00
'gym>=0.24.0',
2022-07-13 16:52:24 +02:00
'mujoco==2.2.0',
2021-06-24 16:51:38 +02:00
],
2022-07-13 15:10:43 +02:00
packages=[package for package in find_packages() if package.startswith("fancy_gym")],
# packages=['fancy_gym', 'fancy_gym.envs', 'fancy_gym.open_ai', 'fancy_gym.dmc', 'fancy_gym.meta', 'fancy_gym.utils'],
2022-07-07 10:47:04 +02:00
package_data={
2022-07-13 15:10:43 +02:00
"fancy_gym": [
"envs/mujoco/*/assets/*.xml",
2022-07-07 10:47:04 +02:00
]
},
python_requires=">=3.6",
2022-07-13 15:10:43 +02:00
url='https://github.com/ALRhub/fancy_gym/',
2022-07-06 09:05:35 +02:00
# license='AGPL-3.0 license',
2021-06-24 16:51:38 +02:00
author_email='',
2022-07-06 09:05:35 +02:00
description='Simple Gym: Aggregating interface for various RL environments with support for Black Box approaches.'
2021-06-24 16:51:38 +02:00
)