6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-12 22:27:47 +00:00

Merge remote-tracking branch 'origin/master' into nightly

This commit is contained in:
Overhang.IO 2022-04-24 13:11:35 +00:00
commit 1956d89c7f
2 changed files with 17 additions and 16 deletions

View File

@ -1,8 +1,8 @@
Install this version from pip with::
Install this version from pip with:
pip install "tutor[full]==TUTOR_VERSION"
Or download the compiled binaries::
Or download the compiled binaries:
sudo curl -L "https://github.com/overhangio/tutor/releases/download/TUTOR_VERSION/tutor-$(uname -s)_$(uname -m)" -o /usr/local/bin/tutor
sudo chmod 0755 /usr/local/bin/tutor

View File

@ -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()