Pin template engine plugin to internal link fix
This commit is contained in:
12
setup.py
12
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": [
|
||||
|
||||
Reference in New Issue
Block a user