Skip to content

Commit 37ad7ab

Browse files
authored
Merge pull request #10 from robotpy/season-ep
Use per-season entrypoint name
2 parents 0b6520a + 86a0067 commit 37ad7ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ How RobotPy subcommands are implemented
2323

2424
When a user runs `robotpy` or `python -m robotpy`, they are presented with
2525
several subcommands. Each of these subcommands is implemented as a class
26-
that is registered using python's entry point mechanism in the "robotpy"
26+
that is registered using python's entry point mechanism in the "robotpy_cli.YEAR"
2727
group. The registered class must meet the following requirements:
2828

2929
* The docstring of the class is used when the user does --help. The first

robotpy/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def main() -> typing.NoReturn:
251251

252252
cmds: typing.List[typing.Tuple[str, typing.Any]] = []
253253

254-
for entry_point in entry_points(group="robotpy"):
254+
for entry_point in entry_points(group="robotpy_cli.2026"):
255255
try:
256256
cmd_class = entry_point.load()
257257
except Exception:

0 commit comments

Comments
 (0)