From 593d7de4db88118d0b6496b76de4dd72106ec14a Mon Sep 17 00:00:00 2001 From: Michele Milesi Date: Wed, 28 Jun 2023 12:44:10 +0200 Subject: [PATCH 1/2] fix: readme and requirements --- README.md | 6 +++++- pyproject.toml | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 64800945..78e83514 100644 --- a/README.md +++ b/README.md @@ -72,8 +72,10 @@ source .venv/bin/activate pip install "sheeprl @ git+https://github.com/Eclectic-Sheep/sheeprl.git" # or, to install with atari and mujuco environment support, do pip install "sheeprl[atari,mujoco,dev] @ git+https://github.com/Eclectic-Sheep/sheeprl.git" +# or, to install with minedojo environment support, do +pip install "sheeprl[minedojo,dev] @ git+https://github.com/Eclectic-Sheep/sheeprl.git" # or, to install all extras, do -pip install "sheeprl[atari,mujoco,dev,test] @ git+https://github.com/Eclectic-Sheep/sheeprl.git" +pip install "sheeprl[atari,mujoco,miedojo,dev,test] @ git+https://github.com/Eclectic-Sheep/sheeprl.git" ``` @@ -81,6 +83,8 @@ pip install "sheeprl[atari,mujoco,dev,test] @ git+https://github.com/Eclectic-S > **Note** > > if you are on an M-series mac and encounter an error attributed box2dpy during install, you need to install SWIG using the instructions shown below. +> +> if you want to install the minedojo environment support, Java JDK 8 is required: you can install it by following the instructions at this [link](https://docs.minedojo.org/sections/getting_started/install.html#on-ubuntu-20-04)
Installing SWIG diff --git a/pyproject.toml b/pyproject.toml index 109b8185..8fbde727 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,6 +56,7 @@ atari = [ "gymnasium[accept-rom-license]==0.28.*", "gymnasium[other]==0.28.*", ] +minedojo = ["minedojo==0.1"] [tool.ruff] line-length = 120 From b956c1b2e3682158e608de4a351e71a615c2ce8e Mon Sep 17 00:00:00 2001 From: Michele Milesi Date: Wed, 28 Jun 2023 12:44:35 +0200 Subject: [PATCH 2/2] fix: readme and requirements --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 78e83514..0acd7599 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ pip install "sheeprl[atari,mujoco,miedojo,dev,test] @ git+https://github.com/Ec > > if you are on an M-series mac and encounter an error attributed box2dpy during install, you need to install SWIG using the instructions shown below. > -> if you want to install the minedojo environment support, Java JDK 8 is required: you can install it by following the instructions at this [link](https://docs.minedojo.org/sections/getting_started/install.html#on-ubuntu-20-04) +> if you want to install the minedojo environment support, Java JDK 8 is required: you can install it by following the instructions at this [link](https://docs.minedojo.org/sections/getting_started/install.html#on-ubuntu-20-04).
Installing SWIG