Skip to content

Commit 7de6c78

Browse files
committed
Use per-season entrypoint name
- Fixes #5
1 parent 7653506 commit 7de6c78

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-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
@@ -240,7 +240,7 @@ def main() -> typing.NoReturn:
240240

241241
cmds: typing.List[typing.Tuple[str, typing.Any]] = []
242242

243-
for entry_point in entry_points(group="robotpy"):
243+
for entry_point in entry_points(group="robotpy-2026"):
244244
try:
245245
cmd_class = entry_point.load()
246246
except Exception:

0 commit comments

Comments
 (0)