-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
68 lines (65 loc) · 1.75 KB
/
setup.py
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
from setuptools import setup, find_packages
with open('README.md', 'r', encoding="utf-8") as f:
readme = f.read()
setup(
name='GenerativeRL',
version='0.0.1',
description='PyTorch implementations of generative reinforcement learning algorithms',
long_description=readme,
long_description_content_type='text/markdown',
author='OpenDILab',
author_email="[email protected]",
url="https://github.com/opendilab/GenerativeRL",
packages=find_packages(
exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
install_requires=[
'gym',
'numpy<=1.26.4',
'torch>=2.2.0',
'opencv-python',
'tensordict',
'torchrl',
'di-treetensor',
'matplotlib',
'wandb',
'rich',
'easydict',
'tqdm',
'torchdyn',
'torchsde',
'scipy',
'POT',
'beartype',
'diffusers',
'av',
'moviepy',
'imageio[ffmpeg]',
],
dependency_links=[
'git+https://github.com/rtqichen/torchdiffeq.git#egg=torchdiffeq',
],
extras_require={
'd4rl': [
'gym==0.23.1',
'mujoco_py',
'Cython<3.0',
],
'DI-engine': [
'DI-engine',
],
'formatter': [
'black',
'isort',
],
},
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
license="Apache-2.0",
)