MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / run

Method run

diffusers/setup.py:191–205  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

189 pass
190
191 def run(self):
192 entries = "\n".join([f' "{k}": "{v}",' for k, v in deps.items()])
193 content = [
194 "# THIS FILE HAS BEEN AUTOGENERATED. To update:",
195 "# 1. modify the `_deps` dict in setup.py",
196 "# 2. run `make deps_table_update`",
197 "deps = {",
198 entries,
199 "}",
200 "",
201 ]
202 target = "src/diffusers/dependency_versions_table.py"
203 print(f"updating {target}")
204 with open(target, "w", encoding="utf-8", newline="\n") as f:
205 f.write("\n".join(content))
206
207
208extras = {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected