diff --git a/setup.cfg b/setup.cfg index 00ca9de..e95d75f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -20,7 +20,7 @@ package_dir = packages = adapter core - judger-cli + judger_cli python_requires = >=3.7 [options.packages.find] @@ -31,5 +31,5 @@ exclude = [options.entry_points] console_scripts = - judger_cli = judger-cli.cli:main + judger_cli = judger_cli.cli:main judger_adapter = adapter.main:main \ No newline at end of file diff --git a/src/judger-cli/__init__.py b/src/judger_cli/__init__.py similarity index 100% rename from src/judger-cli/__init__.py rename to src/judger_cli/__init__.py diff --git a/src/judger-cli/__main__.py b/src/judger_cli/__main__.py similarity index 100% rename from src/judger-cli/__main__.py rename to src/judger_cli/__main__.py diff --git a/src/judger-cli/cli.py b/src/judger_cli/cli.py similarity index 97% rename from src/judger-cli/cli.py rename to src/judger_cli/cli.py index 02ee6a7..04afc45 100644 --- a/src/judger-cli/cli.py +++ b/src/judger_cli/cli.py @@ -13,7 +13,7 @@ def main(): - parser = argparse.ArgumentParser(prog="judger-cli", description="CLI for SaibloLocalJudger Core") + parser = argparse.ArgumentParser(prog="judger_cli", description="CLI for SaibloLocalJudger Core") parser.add_argument("--port", type=int, help="Tcp server listening port. Default port is random.", default=0) parser.add_argument("--playerCount", type=int, help="Required. Count of players to start a game.") parser.add_argument("--configFile", type=str, help="Game config file.")