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-14 09:45:35 +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",
|
2022-08-18 09:04:38 +02:00
|
|
|
'mujoco-py<2.2,>=2.1',
|
|
|
|
'scipy'
|
|
|
|
],
|
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-14 09:45:35 +02:00
|
|
|
author='Fabian Otto, Onur Celik',
|
|
|
|
name='fancy_gym',
|
|
|
|
version='0.2',
|
2022-07-07 10:47:04 +02:00
|
|
|
classifiers=[
|
2022-10-20 10:05:22 +02:00
|
|
|
'Development Status :: 3 - Alpha',
|
2022-10-18 08:51:10 +02:00
|
|
|
'Intended Audience :: Science/Research',
|
|
|
|
'License :: OSI Approved :: MIT License',
|
|
|
|
'Natural Language :: English',
|
|
|
|
'Operating System :: OS Independent',
|
|
|
|
'Topic :: Scientific/Engineering :: Artificial Intelligence',
|
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
'Programming Language :: Python :: 3.7',
|
|
|
|
'Programming Language :: Python :: 3.8',
|
|
|
|
'Programming Language :: Python :: 3.9',
|
|
|
|
'Programming Language :: Python :: 3.10',
|
2022-07-07 10:47:04 +02:00
|
|
|
],
|
|
|
|
extras_require=extras,
|
2021-06-24 16:51:38 +02:00
|
|
|
install_requires=[
|
2022-11-15 13:55:56 +01:00
|
|
|
'gym[mujoco]<0.25.0,>=0.24.1',
|
2022-07-14 11:54:38 +02:00
|
|
|
'mp_pytorch @ git+https://github.com/ALRhub/MP_PyTorch.git@main'
|
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")],
|
2022-07-07 10:47:04 +02:00
|
|
|
package_data={
|
2022-07-13 15:10:43 +02:00
|
|
|
"fancy_gym": [
|
2022-07-12 15:17:02 +02:00
|
|
|
"envs/mujoco/*/assets/*.xml",
|
2022-07-07 10:47:04 +02:00
|
|
|
]
|
|
|
|
},
|
2022-07-14 08:25:25 +02:00
|
|
|
python_requires=">=3.7",
|
2022-07-13 15:10:43 +02:00
|
|
|
url='https://github.com/ALRhub/fancy_gym/',
|
2022-10-18 08:51:10 +02:00
|
|
|
license='MIT license',
|
2021-06-24 16:51:38 +02:00
|
|
|
author_email='',
|
2022-07-14 08:25:25 +02:00
|
|
|
description='Fancy Gym: Unifying interface for various RL benchmarks with support for Black Box approaches.'
|
2021-06-24 16:51:38 +02:00
|
|
|
)
|