Skip to content

Commit

Permalink
[Mahjong] Unregister mahjong due to large file size (#1095)
Browse files Browse the repository at this point in the history
  • Loading branch information
sotetsuk authored Nov 8, 2023
1 parent 16db98a commit 7048f70
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions pgx/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"hex",
"kuhn_poker",
"leduc_holdem",
"mahjong",
# "mahjong",
"minatar-asterix",
"minatar-breakout",
"minatar-freeway",
Expand Down Expand Up @@ -387,10 +387,10 @@ def make(env_id: EnvId): # noqa: C901
from pgx.leduc_holdem import LeducHoldem

return LeducHoldem()
elif env_id == "mahjong":
from pgx.mahjong import Mahjong
# elif env_id == "mahjong":
# from pgx.mahjong import Mahjong

return Mahjong()
# return Mahjong()
elif env_id == "minatar-asterix":
from pgx.minatar.asterix import MinAtarAsterix # type: ignore

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def _read_requirements(fname):
keywords="",
packages=find_packages(),
package_data={
"": ["LICENSE", "*.svg", "_src/assets/*.npy", "mahjong/cache/*.json"]
"": ["LICENSE", "*.svg", "_src/assets/*.npy"]
},
include_package_data=True,
install_requires=_read_requirements("requirements.txt"),
Expand Down

0 comments on commit 7048f70

Please sign in to comment.