Skip to content

Commit 8654313

Browse files
authored
Merge pull request #25480 from flferretti/patch-6
2 parents b6d9a68 + 671e376 commit 8654313

File tree

3 files changed

+89
-0
lines changed

3 files changed

+89
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
diff --git a/setup.py b/setup.py
2+
--- a/setup.py
3+
+++ b/setup.py
4+
@@ -17,8 +17,7 @@ setup(name='rl-games',
5+
long_description_content_type="text/markdown",
6+
url="https://github.com/Denys88/rl_games",
7+
#packages=[package for package in find_packages() if package.startswith('rl_games')],
8+
- packages = ['.','rl_games','docs'],
9+
- package_data={'rl_games':['*','*/*','*/*/*'],'docs':['*','*/*','*/*/*'],},
10+
+ packages = ['.','rl_games'],
11+
version='1.6.1',
12+
author='Denys Makoviichuk, Viktor Makoviichuk',
13+
14+
@@ -32,7 +31,7 @@ setup(name='rl-games',
15+
"Programming Language :: Python :: 3.10"
16+
],
17+
#packages=["rlg"],
18+
- include_package_data=True,
19+
+ include_package_data=False,
20+
install_requires=[
21+
# this setup is only for pytorch
22+
#
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
diff --git a/setup.py b/setup.py
2+
--- a/setup.py
3+
+++ b/setup.py
4+
@@ -43,6 +43,6 @@ setup(name='rl-games',
5+
'setproctitle',
6+
'psutil',
7+
'pyyaml',
8+
- 'watchdog>=2.1.9,<3.0.0', # for evaluation process
9+
+ 'watchdog>=2.1.9', # for evaluation process
10+
],
11+
)

recipes/rl-games/meta.yaml

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{% set name = "rl_games" %}
2+
{% set version = "1.6.1" %}
3+
4+
package:
5+
name: {{ name|lower }}
6+
version: {{ version }}
7+
8+
source:
9+
url: https://github.com/Denys88/rl_games/archive/v{{ version }}.tar.gz
10+
sha256: f70429cb4c75972365362186dc7b33d90b67e543fc770b272bb812b914f44e5a
11+
patches:
12+
- 01-exclude_package_data.patch
13+
- 02-remove_watchdog_upper_bound.patch
14+
15+
build:
16+
noarch: python
17+
script:
18+
- rm poetry.lock pyproject.toml
19+
- {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
20+
number: 0
21+
22+
requirements:
23+
host:
24+
- python >3.7
25+
- pip
26+
run:
27+
- python >3.7
28+
- gym >=0.17.2
29+
- tensorboard >=1.14.0
30+
- tensorboardx >=1.6
31+
- pyyaml
32+
- psutil
33+
- setproctitle
34+
- opencv
35+
- wandb
36+
- pytorch
37+
- numpy
38+
- watchdog >=2.19
39+
40+
test:
41+
imports:
42+
- rl_games
43+
commands:
44+
- pip check
45+
requires:
46+
- pip
47+
48+
about:
49+
home: https://github.com/Denys88/rl_games
50+
summary: High performance RL library
51+
license: MIT
52+
license_file: LICENSE
53+
54+
extra:
55+
recipe-maintainers:
56+
- flferretti

0 commit comments

Comments
 (0)