MCPcopy Create free account
hub / github.com/deepnote/deepnote / main

Function main

packages/cli/pypi/scripts/set_version.py:12–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11
12def main() -> None:
13 package = json.loads(CLI_PACKAGE_JSON.read_text(encoding="utf-8"))
14 version = package["version"]
15 INIT_FILE.write_text(f'__version__ = "{version}"\n', encoding="utf-8")
16 print(f"Set PyPI package version to {version}")
17
18
19if __name__ == "__main__":

Callers 1

set_version.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected