From d581b1a3484f3a653057d6a76a1e734a4736e0c3 Mon Sep 17 00:00:00 2001 From: Mandel Olaiya Date: Tue, 31 Mar 2026 01:10:31 +0200 Subject: [PATCH] Pin template engine plugin to internal link fix --- setup.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index cc914e1..003ca17 100644 --- a/setup.py +++ b/setup.py @@ -4,11 +4,21 @@ import json from setuptools import find_packages, setup 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 with open("mandelstudio/ocyan.json", encoding="utf-8") as fp: 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 = { "test": [