/
meta.yaml
167 lines (153 loc) · 3.87 KB
/
meta.yaml
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
{% set version = "0.22.0" %}
package:
name: gym
version: {{ version }}
source:
url: https://github.com/openai/gym/archive/refs/tags/{{ version }}.tar.gz
sha256: acff3d469aca4489d67dd2b81797b23a851a076871a623f63ce321cf4dca6141
build:
number: 0
# Need these up here for conda-smithy to handle them properly.
requirements:
build:
- python # [build_platform != target_platform]
- cross-python_{{ target_platform }} # [build_platform != target_platform]
- numpy # [build_platform != target_platform]
host:
- python
- pip
- setuptools
- wheel
run:
- python
outputs:
- name: gym
build:
script: {{ PYTHON }} -m pip install . -vv --no-deps
requirements:
host:
- python
- pip
- cloudpickle >=1.2.0
- numpy
run:
- python
- cloudpickle >=1.2.0
- gym-notices
- numpy
- importlib_metadata >=4.8.1 # [py<=39]
test:
imports:
- gym
- name: gym-all
requirements:
host:
- python
run:
- python
# see below
# - {{ pin_subpackage('gym-atari', exact=True) }}
- {{ pin_subpackage('gym-box2d', exact=True) }}
- {{ pin_subpackage('gym-classic_control', exact=True) }}
# exclude because mujoco has incompatible license, see below
# - {{ pin_subpackage('gym-mujoco', exact=True) }}
- {{ pin_subpackage('gym-toy_text', exact=True) }}
- {{ pin_subpackage('gym-other', exact=True) }}
test:
requires:
- pip
commands:
- pip check
# TODO: run test suite
- name: gym-atari
build:
# FIXME: causes import errors for gym.envs.atari
skip: true
requirements:
host:
- python
run:
- python
- {{ pin_subpackage('gym', exact=True) }}
- ale-py >=0.7.4
test:
imports:
- gym.envs.atari
- name: gym-box2d
requirements:
host:
- python
run:
- python
- {{ pin_subpackage('gym', exact=True) }}
- box2d-py ==2.3.*
- pygame ==2.1.*
test:
imports:
- gym.envs.box2d
- name: gym-classic_control
requirements:
host:
- python
run:
- python
- {{ pin_subpackage('gym', exact=True) }}
- pygame ==2.1.*
test:
imports:
- gym.envs.classic_control
- name: gym-mujoco
build:
# mujoco-py cannot be packaged for license reasons, see
# https://github.com/openai/mujoco-py#install-mujoco
skip: true
requirements:
host:
- python
run:
- python
- {{ pin_subpackage('gym', exact=True) }}
# conda-forge builds for mujoco-python start only from 2.2.0
- mujoco-python
- imageio
test:
imports:
- gym.envs.mujoco
- name: gym-toy_text
requirements:
host:
- python
run:
- python
- {{ pin_subpackage('gym', exact=True) }}
- pygame ==2.1.*
- scipy >=1.4.1
test:
imports:
- gym.envs.toy_text
- name: gym-other
requirements:
host:
- python
run:
- python
- {{ pin_subpackage('gym', exact=True) }}
- lz4 >=3.1.0
- opencv >=3.0
test:
imports:
# There are no tests in the source code for gym-other
about:
home: https://github.com/openai/gym
license: MIT
license_family: MIT
license_file: LICENSE.md
summary: 'The OpenAI Gym: A toolkit for developing and comparing your reinforcement learning agents.'
description: 'The OpenAI Gym: A toolkit for developing and comparing your reinforcement learning agents.'
doc_url: https://gym.openai.com/docs/
dev_url: https://github.com/openai/gym
extra:
recipe-maintainers:
- mxr-conda
- h-vetinari
- dsangillo