From 7d16b4a60fe920100c60ca7c35fd288b9c6f3cfa Mon Sep 17 00:00:00 2001 From: Rodrigo de Lazcano Date: Wed, 28 Sep 2022 12:18:03 -0400 Subject: [PATCH] Add packages to setup.py (#250) --- minigrid/minigrid_env.py | 0 setup.py | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 minigrid/minigrid_env.py diff --git a/minigrid/minigrid_env.py b/minigrid/minigrid_env.py old mode 100644 new mode 100755 diff --git a/setup.py b/setup.py index 1edb50e33..b965ae9b0 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -from setuptools import setup +from setuptools import find_packages, setup with open("README.md") as fh: long_description = "" @@ -31,7 +31,7 @@ url="https://github.com/Farama-Foundation/MiniGrid", description="Minimalistic gridworld reinforcement learning environments", extras_require=extras, - packages=["minigrid", "minigrid.envs"], + packages=[package for package in find_packages() if package.startswith("minigrid")], entry_points={ "gymnasium.envs": ["__root__ = minigrid.__init__:register_minigrid_envs"] },