Skip to content

Commit

Permalink
remove omegaconf as dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneT2000 committed Feb 14, 2023
1 parent 0b57295 commit 94a7586
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions luxai_s2/luxai_runner/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from luxai_runner.episode import Episode, EpisodeConfig, ReplayConfig
from luxai_runner.logger import Logger
from luxai_runner.tournament import Tournament, TournamentConfig
from omegaconf import OmegaConf

from luxai_s2 import LuxAI_S2

Expand Down Expand Up @@ -140,7 +139,7 @@ def main():

tournament_config = TournamentConfig()
tournament_config.agents = args.players
# TODO - in future replace this with OmegaConf or something that can parse these nicely

tournament_config.max_concurrent_episodes = getattr(
args, "tournament_cfg.concurrent"
)
Expand Down
3 changes: 1 addition & 2 deletions luxai_s2/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def read(fname):
long_description="Code for the Lux AI Challenge Season 2",
packages=find_packages(exclude="kits"),
entry_points={"console_scripts": ["luxai-s2 = luxai_runner.cli:main"]},
version="2.1.6",
version="2.1.7",
python_requires=">=3.7",
install_requires=[
"numpy",
Expand All @@ -26,7 +26,6 @@ def read(fname):
"matplotlib",
"pettingzoo",
"vec_noise",
"omegaconf",
"gym==0.21.0",
"scipy",
"importlib-metadata<5.0" # fixes bug where they deprecated an endpoint that openai gym uses
Expand Down

0 comments on commit 94a7586

Please sign in to comment.