Merge pull request #54 from frantic/patch-1

Avoid installing dependencies on every run
This commit is contained in:
storyicon
2024-03-21 19:41:45 +08:00
committed by GitHub
+2 -1
View File
@@ -14,4 +14,5 @@ def ensure_package():
cmds = build_pip_install_cmds(['-r', 'requirements.txt'])
subprocess.run(cmds, cwd=custom_nodes_path)
ensure_package()
if __name__ == "__main__":
ensure_package()