Pin template engine plugin to internal link fix

This commit is contained in:
2026-03-31 01:10:31 +02:00
parent eef11801a6
commit d581b1a348

View File

@@ -4,11 +4,21 @@ import json
from setuptools import find_packages, setup from setuptools import find_packages, setup
install_requires: list = ["setuptools", "ocyan.main"] install_requires: list = ["setuptools", "ocyan.main"]
PINNED_PLUGIN_INSTALL_REQUIRES = {
"ocyan.plugin.template_engine": (
"ocyan.plugin.template_engine @ "
"git+ssh://git@git.mandelblog.com:2222/mandel-plugins/"
"ocyan.plugin.template_engine.git@00923e5586286af81337b357412862cb7a31b5e0"
)
}
# Add frets dependencies # Add frets dependencies
with open("mandelstudio/ocyan.json", encoding="utf-8") as fp: with open("mandelstudio/ocyan.json", encoding="utf-8") as fp:
config = json.loads(fp.read()) config = json.loads(fp.read())
install_requires.extend(config["ocyan_plugins"]) install_requires.extend(
PINNED_PLUGIN_INSTALL_REQUIRES.get(plugin, plugin)
for plugin in config["ocyan_plugins"]
)
extras_require: dict = { extras_require: dict = {
"test": [ "test": [