mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-12 06:07:56 +00:00
fix: v1 plugins in binary bundle
This commit is contained in:
parent
e15c107570
commit
51e93941e0
@ -9,7 +9,8 @@ datas = [("./tutor/templates", "./tutor/templates")]
|
||||
hidden_imports = []
|
||||
|
||||
# Auto-discover plugins and include patches & templates folders
|
||||
for entrypoint in pkg_resources.iter_entry_points("tutor.plugin.v0"):
|
||||
for entrypoint_version in ["tutor.plugin.v0", "tutor.plugin.v1"]:
|
||||
for entrypoint in pkg_resources.iter_entry_points(entrypoint_version):
|
||||
plugin_name = entrypoint.name
|
||||
try:
|
||||
plugin = entrypoint.load()
|
||||
|
Loading…
Reference in New Issue
Block a user